Retry all online managers on ConnectionError
This commit is contained in:
@@ -36,7 +36,7 @@ class OnlineCoverManager(Manager):
|
||||
"""Manager that downloads game covers from URLs"""
|
||||
|
||||
run_after = (LocalCoverManager,)
|
||||
retryable_on = (HTTPError, SSLError)
|
||||
retryable_on = (HTTPError, SSLError, ConnectionError)
|
||||
|
||||
def save_composited_cover(
|
||||
self,
|
||||
|
||||
@@ -32,7 +32,7 @@ from src.utils.steam import (
|
||||
class SteamAPIManager(AsyncManager):
|
||||
"""Manager in charge of completing a game's data from the Steam API"""
|
||||
|
||||
retryable_on = (HTTPError, SSLError)
|
||||
retryable_on = (HTTPError, SSLError, ConnectionError)
|
||||
|
||||
steam_api_helper: SteamAPIHelper = None
|
||||
steam_rate_limiter: SteamRateLimiter = None
|
||||
|
||||
Reference in New Issue
Block a user