mirror of
https://github.com/norohind/FDEV-CAPI-Handler.git
synced 2026-10-27 01:16:03 +03:00
took CAPIAuthorizer.refresh_by_state's failure_tolerance argument to config
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user