Remove support for schema reloading with SIGHUP

SIGUSR1 should be used instead
This commit is contained in:
steve-chavez
2019-05-19 13:18:03 -05:00
committed by Steve Chávez
parent bcc317db81
commit 37de12d376
2 changed files with 12 additions and 9 deletions
+4
View File
@@ -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
View File
@@ -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