From c6957bed64acd5b2265b8b94bb07f8bb77520084 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Tue, 23 Apr 2019 19:56:21 +0300 Subject: [PATCH] - install: immediately schedule filters update procedure after installation is complete --- control_install.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/control_install.go b/control_install.go index c4338e9d..7ad7a831 100644 --- a/control_install.go +++ b/control_install.go @@ -258,6 +258,8 @@ func handleInstallConfigure(w http.ResponseWriter, r *http.Request) { return } + go refreshFiltersIfNecessary(false) + // this needs to be done in a goroutine because Shutdown() is a blocking call, and it will block // until all requests are finished, and _we_ are inside a request right now, so it will block indefinitely if restartHTTP {