Explorar el Código

add global.gc()

itizawa hace 5 años
padre
commit
b89112f9b8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/server/service/search-delegator/elasticsearch.js

+ 1 - 0
src/server/service/search-delegator/elasticsearch.js

@@ -465,6 +465,7 @@ class ElasticsearchDelegator {
           logger.error('addAllPages error on add anyway: ', err);
         }
 
+        global.gc();
         callback();
       },
       final(callback) {