mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 16:38:39 +01:00
Shorten eviction time to 7 days (to match message retention time).
This commit is contained in:
committed by
Jon Chambers
parent
ad32555cc9
commit
e9ea79cc8e
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user