We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a701f5a commit b803c8aCopy full SHA for b803c8a
src/main/java/org/commonwl/viewer/services/WorkflowService.java
@@ -119,7 +119,7 @@ public boolean cacheExpired(Workflow workflow) {
119
// Calculate expiration
120
Calendar expireCal = Calendar.getInstance();
121
expireCal.setTime(workflow.getRetrievedOn());
122
- expireCal.add(Calendar.DATE, -cacheDays);
+ expireCal.add(Calendar.DATE, cacheDays);
123
Date expirationDate = expireCal.getTime();
124
125
// Check cached retrievedOn date
0 commit comments