diff options
author | Luck <git@lucko.me> | 2020-04-02 14:36:26 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2020-04-02 14:36:26 +0100 |
commit | 04b2596013503e5ffa1af088b59c60d60c2e3bfa (patch) | |
tree | 9323313811cabc5163ebaa8e6d95dc0d3888aa84 /spark-common/src/main | |
parent | 9b1f73c954b5f09e0db9650911801ebe5162d4b1 (diff) | |
download | spark-04b2596013503e5ffa1af088b59c60d60c2e3bfa.tar.gz spark-04b2596013503e5ffa1af088b59c60d60c2e3bfa.tar.bz2 spark-04b2596013503e5ffa1af088b59c60d60c2e3bfa.zip |
Change expiry time for URL activity log entries
Diffstat (limited to 'spark-common/src/main')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java b/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java index 6962400..b344ded 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java +++ b/spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java @@ -178,7 +178,7 @@ public class ActivityLog { public boolean shouldExpire() { if (this.dataType.equals("url")) { - return (System.currentTimeMillis() - this.time) > TimeUnit.DAYS.toMillis(7); + return (System.currentTimeMillis() - this.time) > TimeUnit.DAYS.toMillis(60); } else { return false; } |