Browse Source

storage-node: Add limits for elastic logging.

Shamil Gadelshin 3 years ago
parent
commit
96c5796dfd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      storage-node/src/services/logger.ts

+ 1 - 0
storage-node/src/services/logger.ts

@@ -188,6 +188,7 @@ function createElasticTransport(logSource: string, elasticSearchEndpoint: string
     index: 'storage-node',
     format: ecsformat(),
     source: logSource,
+    retryLimit: 10,
   }
   return new ElasticsearchTransport(esTransportOpts)
 }