Skip to content

Commit

Permalink
Revert "Enable timeout for long-polling requests by default"
Browse files Browse the repository at this point in the history
* This reverts commit becf6e8.
* 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
  #217 (comment))
  • Loading branch information
Martchus committed Feb 15, 2024
1 parent 29fad49 commit 699dcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncthingconnector/syncthingconnectionsettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 699dcbd

Please sign in to comment.