Revert "Enable timeout for long-polling requests by default"

* This reverts commit becf6e873b.
* 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)
This commit is contained in:
Martchus 2024-01-02 18:16:23 +01:00
parent 29fad4918b
commit 699dcbdcac
1 changed files with 1 additions and 1 deletions

View File

@ -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