trackbert/classes
Kumi 9374b1284e
Update loop_interval in Tracker class and handle timeout while processing shipments
- 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
2023-08-24 17:34:18 +02:00
..
__init__.py Add classes for database and tracker 2023-08-24 13:31:07 +02:00
database.py classes/database.py: Updated table names and added methods to update and disable shipments 2023-08-24 16:05:46 +02:00
tracker.py Update loop_interval in Tracker class and handle timeout while processing shipments 2023-08-24 17:34:18 +02:00