Files
fm-orchestrator/module_build_service
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
..
2021-08-12 15:53:53 -04:00
2022-03-30 14:27:34 -04:00
2021-07-29 16:21:55 -04:00