Fix gtk build: -Werror=unused-but-set-variable
This commit is contained in:
parent
ae3fec55d4
commit
0e312f9016
1 changed files with 1 additions and 1 deletions
|
@ -250,11 +250,11 @@ void DocumentBroker::pollThread()
|
||||||
uint64_t adminSent = 0;
|
uint64_t adminSent = 0;
|
||||||
uint64_t adminRecv = 0;
|
uint64_t adminRecv = 0;
|
||||||
auto lastBWUpdateTime = std::chrono::steady_clock::now();
|
auto lastBWUpdateTime = std::chrono::steady_clock::now();
|
||||||
|
auto loadDeadline = std::chrono::steady_clock::now() + std::chrono::seconds(limit_load_secs);
|
||||||
#endif
|
#endif
|
||||||
auto last30SecCheckTime = std::chrono::steady_clock::now();
|
auto last30SecCheckTime = std::chrono::steady_clock::now();
|
||||||
|
|
||||||
int limit_load_secs = LOOLWSD::getConfigValue<int>("per_document.limit_load_secs", 100);
|
int limit_load_secs = LOOLWSD::getConfigValue<int>("per_document.limit_load_secs", 100);
|
||||||
auto loadDeadline = std::chrono::steady_clock::now() + std::chrono::seconds(limit_load_secs);
|
|
||||||
|
|
||||||
// Main polling loop goodness.
|
// Main polling loop goodness.
|
||||||
while (!_stop && _poll->continuePolling() && !TerminationFlag)
|
while (!_stop && _poll->continuePolling() && !TerminationFlag)
|
||||||
|
|
Loading…
Reference in a new issue