Skip to content

Commit ea93956

Browse files
committed
Reduced range for exclusion of players down to 30 seconds
1 parent 77f7468 commit ea93956

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/java/com/ffxivcensus/gatherer/Player.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ public class Player {
3333
*/
3434
private final static int ACTIVITY_RANGE_DAYS = 30;
3535

36-
37-
private static final long ONE_MINUTE_IN_MILLIS=60000;
3836
private static final long ONE_DAY_IN_MILLIS=86400000;
3937

4038
/**
@@ -1913,7 +1911,7 @@ private boolean isPlayerActiveInDateRange() {
19131911

19141912
Calendar date = Calendar.getInstance();
19151913
long t= date.getTimeInMillis();
1916-
Date nowMinusExcludeRange =new Date(t - (EXCLUDE_RANGE * ONE_MINUTE_IN_MILLIS));
1914+
Date nowMinusExcludeRange =new Date(t - (EXCLUDE_RANGE * 30000));
19171915

19181916
Date nowMinusIncludeRange = new Date(t - (ACTIVITY_RANGE_DAYS * ONE_DAY_IN_MILLIS));
19191917
if(this.dateImgLastModified.after(nowMinusExcludeRange)) { //If the date modified is inside the exclude range

0 commit comments

Comments
 (0)