Commit 4d5702be authored by SHEFFALI JAIN's avatar SHEFFALI JAIN
Browse files

need to change modifier of methos as it fails in build with chaos

parent 19334b41
Pipeline #64778 failed with stages
in 23 minutes and 52 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