Top Level Namespace

Defined Under Namespace

Modules: Drails, RailsDisco Classes: EventSourceController

Constant Summary collapse

ROOT_DIR =
Dir.pwd
LOGGER =
ActiveEvent::Support::MultiLogger.new 'Rails Server'
RELOADER =
ActiveSupport::FileUpdateChecker.new([], watchable_dirs) do
  ActiveEvent::Autoload.reload_module :ValidationsRegistry
  ActiveEvent::Autoload.reload
  ActiveProjection::Autoload.reload
  ActiveEvent::ValidationsRegistry.build
end
WORKER_COUNT =
[ENV['WORKER_COUNT'].to_i, 1].max
WORKER_NUMBER =
ENV['WORKER_NUMBER'].to_i