From 37de12d3763c9d906dc4cd5a012db6030adf660a Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Mon, 29 Apr 2019 14:12:30 -0500 Subject: [PATCH] Remove support for schema reloading with SIGHUP SIGUSR1 should be used instead --- CHANGELOG.md | 4 ++++ main/Main.hs | 17 ++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3dc859be..d42bf9f13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/main/Main.hs b/main/Main.hs index 32f8d1e17..5d7f51afd 100644 --- a/main/Main.hs +++ b/main/Main.hs @@ -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