You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/04/24 09:04:26 UTC

[GitHub] [skywalking] coreyho edited a comment on issue #4699: Why the config 'flushInterval' in ’application.yml‘ is bound to "index.refresh_interval"?

coreyho edited a comment on issue #4699:
URL: https://github.com/apache/skywalking/issues/4699#issuecomment-618891667


   'flush.Interval' and 'index_refresh_interval' are two different attributes in es, but there is only one corresponding config in skywalking. I Cannot set them to different value。
   ```java
   setting.put("index.refresh_interval", record ? TimeValue.timeValueSeconds(10).toString() : TimeValue.timeValueSeconds(config.getFlushInterval()).toString());
   new BatchProcessEsDAO(elasticSearch7Client, config.getBulkActions(), config.getFlushInterval(), config.getConcurrentRequests())
   ```
   And there is a config item corresponding 'index_refresh_interval'  which is never be used.
   ![image](https://user-images.githubusercontent.com/24976544/80194414-eb355980-864c-11ea-97d8-9b7cfceadb31.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org