summary refs log tree commit diff stats
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.go b/init.go
index 18a3d96..8ee77ad 100644
--- a/init.go
+++ b/init.go
@@ -64,6 +64,7 @@ func init() {
 	initLogging()
 	tmpls = initTemplates()
 	initDatabase()
+	go cacheAndPush()
 	watchForInterrupt()
 }
 
@@ -286,7 +287,6 @@ func initDatabase() {
 	dbChan <- db
 
 	pullDatabase()
-	go cacheAndPush()
 }
 
 // Watch for SIGINT aka ^C