modelo_minuta
Last change
on this file since 50de8e9 was
1b91e02,
checked in by aosorio <aosorio@…>, 8 years ago
|
Version para desarrollo local
|
-
Property mode set to
100755
|
File size:
656 bytes
|
Line | |
---|
1 | # Copyright (c) 2010-2011, Diaspora Inc. This file is |
---|
2 | # licensed under the Affero General Public License version 3 or later. See |
---|
3 | # the COPYRIGHT file. |
---|
4 | |
---|
5 | # This file is used by Rack-based servers to start the application. |
---|
6 | |
---|
7 | require ::File.expand_path('../config/environment', __FILE__) |
---|
8 | require ::File.expand_path('../lib/unicorn_killer', __FILE__) |
---|
9 | require ::File.expand_path('../lib/rack/chrome_frame', __FILE__) |
---|
10 | |
---|
11 | # Kill unicorn workers really agressively (at 300mb) |
---|
12 | if defined?(Unicorn) |
---|
13 | use UnicornKiller::Oom, 300 * 1024 |
---|
14 | end |
---|
15 | use Rack::Deflater |
---|
16 | use Rack::ChromeFrame, :minimum => 8 |
---|
17 | use Rack::Protection::FrameOptions |
---|
18 | |
---|
19 | run Diaspora::Application |
---|
Note: See
TracBrowser
for help on using the repository browser.