Shorten eviction time to 7 days (to match message retention time).

This commit is contained in:
Jon Chambers 2021-02-11 13:56:06 -05:00 committed by Jon Chambers
parent ad32555cc9
commit e9ea79cc8e
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class ApnFallbackManager implements Managed {
long deviceLastSeen = device.getLastSeen();
if (deviceLastSeen < System.currentTimeMillis() - TimeUnit.DAYS.toMillis(90)) {
if (deviceLastSeen < System.currentTimeMillis() - TimeUnit.DAYS.toMillis(7)) {
evicted.mark();
remove(account, device);
return;