Yep, I will have to
I would like to have some input about two parameters I noticed in shotgunEventDaemon.conf
:
fetch_interval = 5
and
max_event_batch_size = 500
If I get it right, the _mainloop
of shotgunEventDaemon
:
- fetches events with
_get_NewEvents
, which takes the last processed event as starting point and fetches all events with IDs above this reference, - processes these events with the plugins
- checks the amount of processed events and sleeps for
fetch_interval
seconds if this amount is undermax_event_batch_size
So now I’m wondering how changing max_event_batch_size
to 300 (for ex) would impact the event handler. It would sleep less, so from my point of view there would be less risk of lag; but I guess there are some reasons not visible from the shotgunEventHandler code to choose these two values of 500 events and 5s. Would it remain stable? would the batch operations be still optimum?