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

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2021-02-11 14:01:11 -05:00
1 parent ad32555cc9
commit e9ea79cc8e
1 file changed
+1 -1
@@ -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;