akshayrai commented on a change in pull request #4217: [TE] distribute detection and notification tasks URL: https://github.com/apache/incubator-pinot/pull/4217#discussion_r285290205
########## File path: thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/CompositePipelineConfigTranslator.java ########## @@ -379,16 +380,24 @@ private void fillInDetectorWrapperProperties(Map<String, Object> properties, Map return properties; } + // Default schedule: + // minute granularity: every 15 minutes, starts at 0 minute + // hourly: every hour, starts at 0 minute + // daily: every day, starts at 2 pm UTC + // others: every day, start at 12 am UTC private String buildCron() { + // starts at random second to reduce task spike Review comment: Can you include a comment on what task spike you are referring to here? and why is that a problem? probably mention how this correlates to high mysql updates. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org