Removed delay on refresh episodes
This commit is contained in:
parent
bd38aca4c0
commit
df762bc6e9
@ -3,7 +3,6 @@ package main
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/animenotifier/arn"
|
"github.com/animenotifier/arn"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
@ -50,9 +49,6 @@ func main() {
|
|||||||
func refreshQueue(queue []*arn.Anime) {
|
func refreshQueue(queue []*arn.Anime) {
|
||||||
for _, anime := range queue {
|
for _, anime := range queue {
|
||||||
refresh(anime)
|
refresh(anime)
|
||||||
|
|
||||||
// Lower the request interval
|
|
||||||
time.Sleep(5 * time.Second)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user