Files
fm-orchestrator/module_build_service/scheduler
Owen W. Taylor 3b8cdd342a Avoid deep recursion when handling a large queue of events
Because each event handler wrapper would call scheduler.run() at the end before
returning, with a queue of 100 events to process we'd end up
with:

 Event handler 1 wrapper
   scheduler.run()
     Event handler 2 wrapper
       scheduler.run()
         .....
            .... Event handler 100 wrapper

Which would eventually exhaust the Python stack limit. Fix this by making scheduler.run()
no-op if the scheduler is already processing the queue in the current thread.
2022-04-26 17:02:09 -04:00
..
2022-03-30 14:27:34 -04:00
2022-03-30 14:27:34 -04:00
2022-03-30 14:27:34 -04:00
2022-03-30 14:27:34 -04:00
2021-04-21 14:41:23 -04:00
2022-03-30 14:27:34 -04:00