From 699dcbdcacf5921091a5aa99d5b4e09e7a126e1b Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 2 Jan 2024 18:16:23 +0100 Subject: [PATCH] Revert "Enable timeout for long-polling requests by default" * This reverts commit becf6e873bca74da83163d12ad87b5a852113217. * This timeout might be problematic after all as it might cause Syncthing to lose its connection not being able to connect again on its own (see https://github.com/Martchus/syncthingtray/issues/217#issuecomment-1859002266) --- syncthingconnector/syncthingconnectionsettings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncthingconnector/syncthingconnectionsettings.h b/syncthingconnector/syncthingconnectionsettings.h index a94c67b..7a7a455 100644 --- a/syncthingconnector/syncthingconnectionsettings.h +++ b/syncthingconnector/syncthingconnectionsettings.h @@ -61,7 +61,7 @@ struct LIB_SYNCTHING_CONNECTOR_EXPORT SyncthingConnectionSettings { static constexpr int defaultErrorsPollInterval = 30000; static constexpr int defaultReconnectInterval = 30000; static constexpr int defaultRequestTimeout = 0; - static constexpr int defaultLongPollingTimeout = 60000; + static constexpr int defaultLongPollingTimeout = 0; }; } // namespace Data