Skip to content


Subversion checkout URL

You can clone with
Download ZIP
100644 18 lines (14 sloc) 620 Bytes
335172c @maxwell move unicorn killer to initializer so thin still works, also a fix fo…
maxwell authored
1 # Copyright (c) 2010-2011, Diaspora Inc. This file is
1fd3aea Add or later to license notice
Raphael authored
2 # licensed under the Affero General Public License version 3 or later. See
aa3ebe3 License notices replaced
Raphael authored
3 # the COPYRIGHT file.
4c15b1a added license to every single goddamn file. also, put one in the roo…
Daniel Vincent Grippi authored
0390bbd Activerecord this time\!
Raphael Sofaer authored
5 # This file is used by Rack-based servers to start the application.
7 require ::File.expand_path('../config/environment', __FILE__)
d301d45 @danielgrippi whoops. [ci skip]
danielgrippi authored
8 require ::File.expand_path('../lib/unicorn_killer', __FILE__)
9 require ::File.expand_path('../lib/rack/chrome_frame', __FILE__)
52438ff @danielgrippi add unicorn back in. only use one worker process for now. also, mov…
danielgrippi authored
3146380 @danielgrippi aggressively kill unicorn workers with UnicornKiller. [ci skip]
danielgrippi authored
11 # Kill unicorn workers really agressively (at 300mb)
12 if defined?(Unicorn)
13 use UnicornKiller::Oom, 300 * 1024
14 end
75277b4 @maxwell gzip outgoing stuffs for great success
maxwell authored
15 use Rack::Deflater
38102eb @sarahmei Revert "Mount application on proper location" - changes cause app to …
sarahmei authored
16 use Rack::ChromeFrame, :minimum => 8
17 run Diaspora::Application
Something went wrong with that request. Please try again.