Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (14 sloc) 0.62 kb
335172c Maxwell Salzberg move unicorn killer to initializer so thin still works, also a fix for n...
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 root d...
Daniel Vincent Grippi authored
4
0390bbd Activerecord this time\!
Raphael Sofaer authored
5 # This file is used by Rack-based servers to start the application.
6
7 require ::File.expand_path('../config/environment', __FILE__)
d301d45 Daniel Grippi 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 Daniel Grippi add unicorn back in. only use one worker process for now. also, move c...
danielgrippi authored
10
3146380 Daniel Grippi 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 Salzberg gzip outgoing stuffs for great success
maxwell authored
15 use Rack::Deflater
38102eb Sarah Mei Revert "Mount application on proper location" - changes cause app to fai...
sarahmei authored
16 use Rack::ChromeFrame, :minimum => 8
17 run Diaspora::Application
Something went wrong with that request. Please try again.