mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
upgrade to latest puma
This commit is contained in:
parent
c217d31dee
commit
0c8696009f
3 changed files with 5 additions and 5 deletions
2
Gemfile
2
Gemfile
|
@ -7,7 +7,7 @@ gem 'redis-namespace'
|
|||
gem 'bcrypt'
|
||||
gem 'sinatra-flash', require: 'sinatra/flash'
|
||||
gem 'sinatra-xsendfile', require: 'sinatra/xsendfile'
|
||||
gem 'puma', '5.6.7', require: nil
|
||||
gem 'puma', '< 7', require: nil
|
||||
gem 'sidekiq', '~> 7.0.8'
|
||||
gem 'mail'
|
||||
gem 'net-smtp'
|
||||
|
|
|
@ -197,7 +197,7 @@ GEM
|
|||
coderay (~> 1.1)
|
||||
method_source (~> 1.0)
|
||||
public_suffix (5.0.0)
|
||||
puma (5.6.7)
|
||||
puma (6.3.1)
|
||||
nio4r (~> 2.0)
|
||||
racc (1.7.1)
|
||||
rack (2.2.6.4)
|
||||
|
@ -357,7 +357,7 @@ DEPENDENCIES
|
|||
paypal-recurring
|
||||
pg
|
||||
pry
|
||||
puma (= 5.6.7)
|
||||
puma (< 7)
|
||||
rack-cache
|
||||
rack-test
|
||||
rack_session_access
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'facter'
|
||||
|
||||
threads 1, 1
|
||||
#threads 5, 5
|
||||
#threads 1, 1
|
||||
environment 'production'
|
||||
#daemonize
|
||||
pidfile '/var/run/neocities/neocities.pid'
|
||||
|
@ -11,3 +10,4 @@ workers Facter.value('processors')['count']
|
|||
preload_app!
|
||||
on_worker_boot { DB.disconnect }
|
||||
bind 'unix:/var/run/neocities/neocities.sock?backlog=2048'
|
||||
supported_http_methods Puma::Const::IANA_HTTP_METHODS
|
||||
|
|
Loading…
Add table
Reference in a new issue