diff options
author | Jordan <me@jordan.im> | 2022-01-03 00:06:36 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2022-01-03 00:06:36 -0700 |
commit | 995a8fad1461734108b5266f51a3c913936c7203 (patch) | |
tree | aa6772e9ab03c25ddfdce31c4b4a84b313776560 | |
parent | 69bc97bdbe330c084d9937360dd11c04b617033d (diff) | |
download | keep-995a8fad1461734108b5266f51a3c913936c7203.tar.gz keep-995a8fad1461734108b5266f51a3c913936c7203.zip |
keep: archive API cooldown 5s -> 15s
-rw-r--r-- | keep.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,8 +144,8 @@ func archiver(db *SqliteDB) { db.AddArchived(message, status_code) log.Printf("SAVE %d %s", status_code, message.URL) - // Limit requests to Wayback API to 5-second intervals - time.Sleep(5 * time.Second) + // Limit requests to Wayback API to 15-second intervals + time.Sleep(15 * time.Second) } } |