summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-04 23:33:39 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-05 00:12:51 -0400
commitfdbc01d69563f1f851eccc101be5cc06039e2f80 (patch)
treeb54ccd09c9f01fb6597c8c99e1becb4672bbfe8b
parent69217dd27196dd59c96bc405afe4bfd83ad17c00 (diff)
downloadgetwtxt-fdbc01d69563f1f851eccc101be5cc06039e2f80.tar.gz
cache/push check interval increased to 1s
-rw-r--r--cache.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.go b/cache.go
index 882c4d8..7f15d45 100644
--- a/cache.go
+++ b/cache.go
@@ -28,6 +28,7 @@ func cacheAndPush() {
 				log.Printf("Error pushing cache to database: %v\n", err.Error())
 			}
 		}
+		time.Sleep(1000 * time.Millisecond)
 	}
 }