From cc1bd31eda24c7f01308ac1c50fdee05918139da Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 28 Nov 2017 15:50:22 +0100 Subject: [PATCH] Shorter delay between requests --- jobs/sync-jikan-anime/sync-jikan-anime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/sync-jikan-anime/sync-jikan-anime.go b/jobs/sync-jikan-anime/sync-jikan-anime.go index 51d1786e..c062f3c1 100644 --- a/jobs/sync-jikan-anime/sync-jikan-anime.go +++ b/jobs/sync-jikan-anime/sync-jikan-anime.go @@ -40,7 +40,7 @@ func sync(anime *arn.Anime, malID string) { return } - time.Sleep(time.Second) + time.Sleep(500 * time.Millisecond) jikanAnime, err := jikan.GetAnime(malID) if err == nil {