-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Bug report
What is the current behavior?
A negative number of missing events are being logged sometimes. I get the following warning logged:
[WARNING | octue.cloud.events.handler] [analysis-1588e25e-b51c-4af4-bc62-fbc175d31139] <Service('gulfwindtech/dlc-service:add-real-dlc-ser')>: -108 consecutive events missing for question '84cc924e-13e5-4769-9eb9-9c1bed405c53' after 10s - skipping to next earliest waiting event (event 3).
See here for the logs this came from.
What is the expected behavior?
This warning should only be triggered when there are missing events. If there are missing events, this should always be a positive number.
Your environment
- Running in Cloud Run
octue==0.56.0(currently theimprove-ask-multiplebranch)- I'm using
Child.ask_multiple, so this might be due to some non-thread-safe behaviour
Proposed Solution
Investigate whether:
- There are actually missing events when this occurs
- Whether this only occurs when using
Child.ask_multiple - Whether there's some thread leakage going on
Metadata
Metadata
Assignees
Labels
No labels