Lifspan runs some tasks multiple times #6

Closed
opened 2025-10-15 07:26:48 +00:00 by jonas · 2 comments
Owner

Some tasks are run multiple times in the lifespan by seemingly the same worker. Rather benign at the moment but should be fixed

2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
2025-10-15 07:25:03 - root - INFO - Logging to file: /config/alpinebits.log
2025-10-15 07:25:03 - root - INFO - Logging configured at INFO level
2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
2025-10-15 07:25:03 - root - INFO - Logging to file: /config/alpinebits.log
2025-10-15 07:25:03 - root - INFO - Logging configured at INFO level
2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True)
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ
2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Hotel 39054_001 has no push_endpoint configured
2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Hotel 135 has no push_endpoint configured
2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Hotel 39052_001 has no push_endpoint configured
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS
2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ
Some tasks are run multiple times in the lifespan by seemingly the same worker. Rather benign at the moment but should be fixed ``` 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True) 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True) 2025-10-15 07:25:03 - root - INFO - Logging to file: /config/alpinebits.log 2025-10-15 07:25:03 - root - INFO - Logging configured at INFO level 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True) 2025-10-15 07:25:03 - root - INFO - Logging to file: /config/alpinebits.log 2025-10-15 07:25:03 - root - INFO - Logging configured at INFO level 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Application startup initiated (primary_worker=True) 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Hotel 39054_001 has no push_endpoint configured 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Hotel 135 has no push_endpoint configured 2025-10-15 07:25:03 - alpine_bits_python.api - INFO - Hotel 39052_001 has no push_endpoint configured 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_NOTIF_REPORT 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_PING 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_HOTEL_RES_NOTIF_GUEST_REQUESTS 2025-10-15 07:25:03 - alpine_bits_python.alpinebits_server - INFO - Initializing action instance for AlpineBitsActionName.OTA_READ ```
Author
Owner

Most likely fixed with file locks

Most likely fixed with file locks
jonas added reference email_notifications 2025-10-15 09:19:26 +00:00
Author
Owner

Can confirm has been fixed

Can confirm has been fixed
jonas closed this issue 2025-10-15 16:27:16 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jonas/alpinebits_python#6
No description provided.