Slow down avatar requests

This commit is contained in:
Eduard Urbach 2017-06-15 19:22:09 +02:00
parent aeac20d7ad
commit 7178853b9a

View File

@ -39,10 +39,10 @@ func main() {
avatarSources = []AvatarSource{ avatarSources = []AvatarSource{
&Gravatar{ &Gravatar{
Rating: "pg", Rating: "pg",
RequestLimiter: time.NewTicker(200 * time.Millisecond), RequestLimiter: time.NewTicker(250 * time.Millisecond),
}, },
&MyAnimeList{ &MyAnimeList{
RequestLimiter: time.NewTicker(200 * time.Millisecond), RequestLimiter: time.NewTicker(250 * time.Millisecond),
}, },
} }