From 04b2596013503e5ffa1af088b59c60d60c2e3bfa Mon Sep 17 00:00:00 2001 From: Luck Date: Thu, 2 Apr 2020 14:36:26 +0100 Subject: Change expiry time for URL activity log entries --- .../src/main/java/me/lucko/spark/common/activitylog/ActivityLog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spark-common/src/main') 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; } -- cgit