Kumi
9374b1284e
- Update loop_interval to 60 seconds - Add loop_timeout to Tracker class with a value of 30 seconds - Wrap process_shipment calls in asyncio.wait_for with timeout set to loop_timeout value - Add try-except block to handle TimeoutError and log a warning message - Code changes aim to improve the handling of long-running shipments processing with a timeout mechanism in place |
||
---|---|---|
.. | ||
__init__.py | ||
database.py | ||
tracker.py |