Sha256: 47c1091a768c37dfe3175af54d6f7ef2f290c1bfcd77ea1f966b15658fae1815
Contents?: true
Size: 440 Bytes
Versions: 17
Compression:
Stored size: 440 Bytes
Contents
module JsChat ; end require 'jschat/server_options' require 'jschat/storage/init' module JsChat STATELESS_TIMEOUT = 60 LASTLOG_DEFAULT = 100 def self.init_storage if JsChat::Storage::MongoDriver.available? JsChat::Storage.enabled = true JsChat::Storage.driver = JsChat::Storage::MongoDriver else JsChat::Storage.enabled = false JsChat::Storage.driver = JsChat::Storage::NullDriver end end end
Version data entries
17 entries across 17 versions & 1 rubygems