mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-23 03:34:29 -04:00
cmd/syncthing: Send Ping events to the disk events API
The Ping event is important, as it means that requests complete within a sensible time. The disk events API didn't have the Ping event, so if there were no disk events, the request would keep taking forever. Unless, of course, there's a reverse proxy which times the request out after a suitably large interval (or something else aborts it), in which case Syncthing isn't very happy. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3929
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f