Top Level Namespace

Defined Under Namespace

Modules: Csso, FieldHelpers, Generators, Rack, Sprockets, Volt Classes: ActiveVoltInstance, Array, BaseRootModel, Benchmark, Boolean, Class, Destroy, ErrorDispatcher, FalseClass, Generate, Hash, LiveQuery, LiveQueryPool, Location, Logger, NewGem, NilClass, Numeric, Object, OpenStruct, Proc, Promise, Pry, QueryTasks, QueryTracker, QuietCommonLogger, ReadWriteLock, StoreTasks, String, Symbol, TaskArgumentFilterer, Thread, Time, TrueClass, UserTasks, VoltLogger, VoltUserError

Constant Summary collapse

ROOT_MODEL_NAMES =
[:Store, :Page, :Params, :Cookies, :LocalStore, :Flash]
WEBSOCKET_OPTIONS =

Load websocket options once at boot The ENV option lets it kick in automatically if we’re on heroku.

if !ENV['NO_WEBSOCKET_PING'] &&
  (ENV['WEBSOCKET_PING_TIME'] || ENV['DYNO'])
  {ping: (ENV['WEBSOCKET_PING_TIME'] || 30).to_i}
else
  {}
end