zigbee-herdsman icon indicating copy to clipboard operation
zigbee-herdsman copied to clipboard

Make waitress timeout configurable

Open corporategoth opened this issue 1 year ago • 0 comments

Right now, I have an issue where things can timeout after 10s for a combination of reasons, primarily

  • https://github.com/Koenkk/zigbee-herdsman/issues/856
  • https://github.com/Koenkk/zigbee2mqtt/issues/20648

One quick thing that would help work around this is if I could adjust the waitress timeout. It would not fix the underlying issue, but allowing for a longer timeout might prevent things crashing under high load (ie. HA autoconfiguration, when the main loop is overloaded because Z2M generates a LOT of entities for my HA and Zigbee processing gets delayed, or a bunch of zigbee commands hits the concurrency limiter, since the timer is set pre-concurrency limit).

It would be nice if the waitress timeout could be adjusted in the configuration (similar to how the concurrency limit can be).

corporategoth avatar Jan 07 '24 17:01 corporategoth