Slow down avatar requests
This commit is contained in:
parent
aeac20d7ad
commit
7178853b9a
@ -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),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user