5 Minutes TTL
This commit is contained in:
parent
3034ec9bf5
commit
6a4d30a0de
@ -3460,7 +3460,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_.get()) {
|
||||
if (time - file_id_insert_time_[i] > 5 /* MAIN FILE TTL */) {
|
||||
if (time - file_id_insert_time_[i] > 60 * 5 /* MAIN FILE TTL */) {
|
||||
for (auto &file_id : node->file_ids_) {
|
||||
/* DESTROY ASSOCIATED QUERIES */
|
||||
for (auto &query_id : queries_container_.ids()) {
|
||||
|
Reference in New Issue
Block a user