mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 08:15:48 +00:00
Fix retry in IgdbPlugin
This commit is contained in:
@@ -166,7 +166,7 @@ class IgdbPlugin(wrapper: PluginWrapper) : ConfigurableGameyfinPlugin(wrapper) {
|
|||||||
log.warn("IGDB rate limit exceeded, retrying in $randomInterval seconds...")
|
log.warn("IGDB rate limit exceeded, retrying in $randomInterval seconds...")
|
||||||
TimeUnit.SECONDS.sleep(randomInterval)
|
TimeUnit.SECONDS.sleep(randomInterval)
|
||||||
|
|
||||||
queryIgdbGames(query)
|
return queryIgdbGames(query)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.error("Request to IGDB API failed with HTTP ${e.statusCode}")
|
log.error("Request to IGDB API failed with HTTP ${e.statusCode}")
|
||||||
|
|||||||
Reference in New Issue
Block a user