From df762bc6e9f0ada5bc7469a60644fc9f9b5522fc Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 25 Sep 2017 17:24:21 +0200 Subject: [PATCH] Removed delay on refresh episodes --- jobs/refresh-episodes/refresh-episodes.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/jobs/refresh-episodes/refresh-episodes.go b/jobs/refresh-episodes/refresh-episodes.go index 0f294e73..e3be83cd 100644 --- a/jobs/refresh-episodes/refresh-episodes.go +++ b/jobs/refresh-episodes/refresh-episodes.go @@ -3,7 +3,6 @@ package main import ( "fmt" "strings" - "time" "github.com/animenotifier/arn" "github.com/fatih/color" @@ -50,9 +49,6 @@ func main() { func refreshQueue(queue []*arn.Anime) { for _, anime := range queue { refresh(anime) - - // Lower the request interval - time.Sleep(5 * time.Second) } }