Skip to content

Commit

Permalink
Set cache expiration for classifications
Browse files Browse the repository at this point in the history
See #535
  • Loading branch information
fsteeg committed Jan 28, 2020
1 parent f04dddb commit e5ceeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/nwbib/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public static Result classification(final String t) {
}
result = classificationResult(t, placeholder);
}
Cache.set("classification." + t, result);
Cache.set("classification." + t, result, ONE_DAY);
return result;
}

Expand Down

0 comments on commit e5ceeb5

Please sign in to comment.