Revize cdc18553
Přidáno uživatelem Jakub Šilhavý před více než 2 roky(ů)
client/src/usb_detector/api_client.py | ||
---|---|---|
49 | 49 |
|
50 | 50 |
|
51 | 51 |
def _resend_cached_payloads(): |
52 |
retries = min(_config.max_retries, len(_cache)) |
|
52 |
retries = min(_config.cache_max_retries, len(_cache))
|
|
53 | 53 |
logging.info(f"emptying the cache ({retries} records)") |
54 | 54 |
for _ in range(0, retries): |
55 | 55 |
payload = _cache.pop() |
Také k dispozici: Unified diff
re #9421 Restructured the test folder