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
|
- #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
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user