Remove support for schema reloading with SIGHUP
SIGUSR1 should be used instead
This commit is contained in:
committed by
Steve Chávez
parent
bcc317db81
commit
37de12d376
@@ -22,6 +22,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- #1273, Fix RPC ignoring unknown arguments by default - @steve-chavez
|
||||
- #1257, Fix incorrect status when a PATCH request doesn't find rows to change - @qu4tro
|
||||
|
||||
### Removed
|
||||
|
||||
- #1288, Removed support for schema reloading with SIGHUP, SIGUSR1 should be used instead - @steve-chavez
|
||||
|
||||
## [5.2.0] - 2018-12-12
|
||||
|
||||
### Added
|
||||
|
||||
+8
-9
@@ -198,15 +198,14 @@ main = do
|
||||
throwTo mainTid UserInterrupt
|
||||
) Nothing
|
||||
|
||||
forM_ [sigHUP, sigUSR1] $ \sig ->
|
||||
void $ installHandler sig (
|
||||
Catch $ connectionWorker
|
||||
mainTid
|
||||
pool
|
||||
(configSchema conf)
|
||||
refDbStructure
|
||||
refIsWorkerOn
|
||||
) Nothing
|
||||
void $ installHandler sigUSR1 (
|
||||
Catch $ connectionWorker
|
||||
mainTid
|
||||
pool
|
||||
(configSchema conf)
|
||||
refDbStructure
|
||||
refIsWorkerOn
|
||||
) Nothing
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user