Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Sam
cc3fc87dd7
DEV: handle termination cleanly in autospec
2018-06-19 16:13:36 +10:00
Sam
fc05164667
demo script for demonizing using fork exec
...
minor refinements to demon
2018-01-11 13:51:52 +11:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Sam
0e4883a8ae
correct regression where monitoring thread crashed out
...
add logging
2015-06-16 11:16:33 +10:00
Sam
861cd5d9b0
FIX: ensure child demon is correctly terminated from parent on stop
2015-06-15 12:36:47 +10:00
Sam
1721872084
cleanup out-of-memory detection and correction code
2015-03-27 15:44:52 +11:00
Sam
58f3fcbc1a
BUGFIX: not terminating self correctly on hangups from parent
2014-06-13 11:15:40 +10:00
Sam
7c57d74e85
FEATURE: unicorn sidekiq will restart sidekiq on complete failure.
...
(checks every 30 minutes for complete failure)
2014-04-23 13:13:18 +10:00
Sam
ead7c52a06
Refactor demonizer in prep for unicorn forking
...
Upgrade sidekiq
2014-04-17 15:58:00 +10:00
Sam
f3cc7360e0
BUGFIX: Correct after_fork semantics
...
After fork SiteSettings was not getting a new process id,
causing site settings not to refresh properly in unicorn
This code also centralizes the logic
2014-03-31 12:34:13 +11:00
Régis Hanol
b56b11d96a
add qunit to autospec
2013-11-01 23:57:50 +01:00