Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 561 Bytes
require './application'
CrampPubsub::Application.initialize!
# Development middlewares
if CrampPubsub::Application.env == 'development'
use AsyncRack::CommonLogger
# Enable code reloading on every request
use Rack::Reloader, 0
end
# Running thin :
#
# bundle exec thin --max-persistent-conns 1024 --timeout 0 -R config.ru start
#
# Vebose mode :
#
# Very useful when you want to view all the data being sent/received by thin
#
# bundle exec thin --max-persistent-conns 1024 --timeout 0 -V -R config.ru start
#
run CrampPubsub::Application.routes