mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 13:56:53 +00:00
Shorten eviction time to 7 days (to match message retention time).
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user