revert ttl
This commit is contained in:
parent
02fd61eb6b
commit
5cf3451a3b
@ -3486,7 +3486,7 @@ void FileManager::memory_cleanup() {
|
||||
if (main_node_id != 0) {
|
||||
auto &node = file_nodes_[main_node_id];
|
||||
if (node != nullptr && ((int32) i) == node->main_file_id_.fast_get()) {
|
||||
if (time - node->main_file_id_.get_time() > 5 /* MAIN FILE TTL */) {
|
||||
if (time - node->main_file_id_.get_time() > 5 * 60 /* MAIN FILE TTL */) {
|
||||
node->main_file_id_.reset_time();
|
||||
|
||||
for (auto &file_id : node->file_ids_) {
|
||||
|
Reference in New Issue
Block a user