diff options
Diffstat (limited to 'src/FileEntry.cc')
| -rw-r--r-- | src/FileEntry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc index 35b660e8..08c42c25 100644 --- a/src/FileEntry.cc +++ b/src/FileEntry.cc @@ -251,7 +251,7 @@ FileEntry::findFasterRequest const std::vector<std::pair<size_t, std::string> >& usedHosts, const std::shared_ptr<ServerStatMan>& serverStatMan) { - const int SPEED_THRESHOLD = 20*1024; + constexpr int SPEED_THRESHOLD = 20_k; if(lastFasterReplace_.difference(global::wallclock()) < startupIdleTime) { return nullptr; } |
