Increase max delay from 1 to 10 days
This commit is contained in:
parent
406cd80a2e
commit
d19b81a54e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ namespace {
|
|||
auto now = std::chrono::system_clock::now();
|
||||
auto next_time = db.next_access_time(op);
|
||||
duration<double> diff = duration_cast<seconds>(next_time.ts - now);
|
||||
const auto retval = std::max(min_wait, std::min(3600.0 * 24.0, diff.count()));
|
||||
const auto retval = std::max(min_wait, std::min(3600.0 * 24.0 * 10.0, diff.count()));
|
||||
return retval;
|
||||
}
|
||||
} //unnamed namespace
|
||||
|
|
Loading…
Reference in a new issue