took CAPIAuthorizer.refresh_by_state's failure_tolerance argument to config

This commit is contained in:
norohind committed 2023-12-11 21:25:52 +03:00
1 parent 33d776cd70
commit 87ca270395
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ class CAPIAuthorizer:
return row
def refresh_by_state(self, state: str, force_refresh=False, failure_tolerance=True) -> dict:
def refresh_by_state(self, state: str, force_refresh=False, failure_tolerance=config.default_failure_tolerance) -> dict:
"""
:param state: