diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-04 23:33:39 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-05 00:12:51 -0400 |
commit | fdbc01d69563f1f851eccc101be5cc06039e2f80 (patch) | |
tree | b54ccd09c9f01fb6597c8c99e1becb4672bbfe8b | |
parent | 69217dd27196dd59c96bc405afe4bfd83ad17c00 (diff) | |
download | getwtxt-fdbc01d69563f1f851eccc101be5cc06039e2f80.tar.gz |
cache/push check interval increased to 1s
-rw-r--r-- | cache.go | 1 |
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) } } |