aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/java
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2020-04-02 14:36:26 +0100
committerLuck <git@lucko.me>2020-04-02 14:36:26 +0100
commit04b2596013503e5ffa1af088b59c60d60c2e3bfa (patch)
tree9323313811cabc5163ebaa8e6d95dc0d3888aa84 /spark-common/src/main/java
parent9b1f73c954b5f09e0db9650911801ebe5162d4b1 (diff)
downloadspark-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/java')
-rw-r--r--spark-common/src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java2
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;
}