Enable timeout for long-polling requests by default
This setting does work quite well in my testing so far and it can help with the issue of the connection becoming stale (see https://github.com/Martchus/syncthingtray/issues/209).
This commit is contained in:
parent
d1a1c80ed5
commit
becf6e873b
|
@ -56,7 +56,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 = 0;
|
||||
static constexpr int defaultLongPollingTimeout = 60000;
|
||||
};
|
||||
} // namespace Data
|
||||
|
||||
|
|
Loading…
Reference in New Issue