Commit 4cffb404eae96e10dd5dbc6f8379dc6727ddf68d

Authored by Fernando Brito
Committed by gtaaas
1 parent 74a7982a
Exists in master and in 1 other branch devel

Remove arquivo que foi commitado sem querer

Showing 1 changed file with 0 additions and 40 deletions   Show diff stats
config/libras@150.165.204.30
@@ -1,40 +0,0 @@ @@ -1,40 +0,0 @@
1 -# Author - Igor Portela - igorportela.com | Copyright(c) 2013. All rights reserved.  
2 -#  
3 -# Author Igor Amorim - www.igoramorim.com  
4 -#  
5 -worker_processes 2  
6 -APP_PATH = "/home/gtaaas/gtaaas_web/"  
7 -working_directory APP_PATH  
8 -  
9 -# This loads the application in the master process before forking  
10 -# worker processes  
11 -# Read more about it here:  
12 -# http://unicorn.bogomips.org/Unicorn/Configurator.html  
13 -preload_app true  
14 -  
15 -timeout 30  
16 -  
17 -# This is where we specify the socket.  
18 -# We will point the upstream Nginx module to this socket later on  
19 -listen "unix:#{APP_PATH}tmp/sockets/unicorn.sock", :backlog => 64  
20 -  
21 -pid "#{APP_PATH}tmp/pids/unicorn.pid"  
22 -  
23 -# Set the path of the log files inside the log folder of the testapp  
24 -stderr_path "#{APP_PATH}log/unicorn.stderr.log"  
25 -stdout_path "#{APP_PATH}log/unicorn.stdout.log"  
26 -  
27 -before_fork do |server, worker|  
28 -# This option works in together with preload_app true setting  
29 -# What is does is prevent the master process from holding  
30 -# the database connection  
31 - defined?(ActiveRecord::Base) and  
32 - ActiveRecord::Base.connection.disconnect!  
33 -end  
34 -  
35 -after_fork do |server, worker|  
36 -# Here we are establishing the connection after forking worker  
37 -# processes  
38 - defined?(ActiveRecord::Base) and  
39 - ActiveRecord::Base.establish_connection  
40 -end