Minor change

This commit is contained in:
Eduard Urbach 2017-11-01 20:12:38 +01:00
parent cf00461feb
commit 2de358c843
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import (
func main() { func main() {
color.Yellow("Refreshing anime characters...") color.Yellow("Refreshing anime characters...")
defer arn.Node.Close()
allAnime, _ := arn.AllAnime() allAnime, _ := arn.AllAnime()
rateLimiter := time.NewTicker(500 * time.Millisecond) rateLimiter := time.NewTicker(500 * time.Millisecond)

View File

@ -17,6 +17,8 @@ var ticker = time.NewTicker(50 * time.Millisecond)
func main() { func main() {
color.Yellow("Downloading anime images") color.Yellow("Downloading anime images")
defer arn.Node.Close()
jobs := jobqueue.New(work) jobs := jobqueue.New(work)
allAnime, _ := arn.AllAnime() allAnime, _ := arn.AllAnime()