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 - #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 - #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 ## [5.2.0] - 2018-12-12
### Added ### Added
+8 -9
View File
@@ -198,15 +198,14 @@ main = do
throwTo mainTid UserInterrupt throwTo mainTid UserInterrupt
) Nothing ) Nothing
forM_ [sigHUP, sigUSR1] $ \sig -> void $ installHandler sigUSR1 (
void $ installHandler sig ( Catch $ connectionWorker
Catch $ connectionWorker mainTid
mainTid pool
pool (configSchema conf)
(configSchema conf) refDbStructure
refDbStructure refIsWorkerOn
refIsWorkerOn ) Nothing
) Nothing
#endif #endif