Commit Graph

19 Commits (ad68686bece98a3bc5509bc796e8d435a5d39d1b)

Author SHA1 Message Date
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment ()
CSDUMMI 5dee40b5f5
Support the PROXY protocol through the PROXY_PROTO_V1 env variable ()
Jim Myhrberg 85ec615393
feat(puma): enable setting min puma threads in addition to max ()
Yamagishi Kazutoshi bdca8da8eb Add PERSISTENT_TIMEOUT option ()
Add environment variable to so `persistent_timeout` option of puma can be changed.
Daigo 3 Dango b4c9a860e5 Make puma bind address configurable with BIND env var ()
Eugen Rochko e7353c47db
Change default interface of web and streaming from 0.0.0.0 to 127.0.0.1 ()
Eugen Rochko ed7c5f94f7
Improve ActiveRecord connection in on_worker_boot ()
This is how it looks in the example in the Puma README
aus-social 0a4739c732 lint pass 2 ()
* Code quality pass

* Typofix

* Update applications_controller_spec.rb

* Update applications_controller_spec.rb
Eugen Rochko 3305484028
Revert "Default puma to running on localhost only." ()
* Revert "Default puma to running on localhost only. ()"

This reverts commit 2a59c6a5e7.
M Somerville 2a59c6a5e7 Default puma to running on localhost only. ()
Akihiko Odaki 0f852c6f74 Do not set port for puma if it is bound to unix socket ()
Setting port after binding a unix socket puma listen to both of an unix
socket and TCP/IP, which is not a desired behavior.
Akihiko Odaki 16cd648181 Allow to listen Unix socket ()
* Allow puma to listen Unix socket

* streaming: Show the whole listening address instead of the port

Port is not always appropriate (e.g. Unix socket)

* streaming: Close server before exiting

This change especially allows to remove Unix socket before exiting.
Ash Furrow 0f8b7d0660 Removed Heroku in-process spawning. ()
Eugen 1c351709bc Force UTF8 encoding on generated XML ()
Eugen Rochko fcb5a85cdd Add sounds for notifications. Boop by @jk@mastodon.social
Effy Elden ab4f5f5da5 Add Heroku deployment support
Eugen Rochko e7723ab662 Add puma preloading, decrease DB pool size to size of threads per worker
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries