Commit 29ed9d2c authored by harshit aggarwal's avatar harshit aggarwal
Browse files

Merge branch 'chaosintegration' into 'master'

Need to change modifier of method as it fails in build with chaos

See merge request !113
parents 19334b41 4d5702be
Pipeline #64936 failed with stages
in 23 minutes and 46 seconds
...@@ -91,7 +91,7 @@ public class PartitionCacheTtlService { ...@@ -91,7 +91,7 @@ public class PartitionCacheTtlService {
* Refresh the ttl info cache every 5 minutes * Refresh the ttl info cache every 5 minutes
*/ */
@Scheduled(cron = "0 */5 * ? * *") @Scheduled(cron = "0 */5 * ? * *")
private void refreshTtlInfo() { protected void refreshTtlInfo() {
logger.info(LOGGER_NAME, "Starting a scheduled cron job to update cache ttls for data partitions", null); logger.info(LOGGER_NAME, "Starting a scheduled cron job to update cache ttls for data partitions", null);
DpsHeaders dpsHeaders = new DpsHeaders(); DpsHeaders dpsHeaders = new DpsHeaders();
dpsHeaders.put(DpsHeaders.AUTHORIZATION, "Bearer " + tokenService.getAuthorizationToken()); dpsHeaders.put(DpsHeaders.AUTHORIZATION, "Bearer " + tokenService.getAuthorizationToken());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment