homebridge / HAP-NodeJS

Node.js implementation of the HomeKit Accessory Protocol (HAP)
Apache License 2.0
2.68k stars 630 forks source link

Increase snapshot handler warning timeout to 8000ms. #1055

Closed hjdhjd closed 2 months ago

hjdhjd commented 2 months ago

:recycle: Current situation

When a camera image snapshot takes more than 5s to return an image to HAP-NodeJS a warning is generated, even though the HomeKit timeout appears to be at least 10s.

:bulb: Proposed solution

Revised the warning to generate at 8s instead of 5s, allowing developers a longer window without warnings.

:gear: Release Notes

Updated image snapshot warning timeout to 8s (previously 5s).