mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-24 21:12:05 +01:00
Remove stanza ID ack'ed listeneres after max 3 instead of 12 hours
This commit is contained in:
parent
c90607d7db
commit
42c2e4d077
1 changed files with 2 additions and 2 deletions
|
@ -1736,8 +1736,8 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
if (!smWasEnabledAtLeastOnce) {
|
||||
throw new StreamManagementException.StreamManagementNotEnabledException();
|
||||
}
|
||||
// Remove the listener after max. 12 hours
|
||||
final int removeAfterSeconds = Math.min(getMaxSmResumptionTime(), 12 * 60 * 60);
|
||||
// Remove the listener after max. 3 hours
|
||||
final int removeAfterSeconds = Math.min(getMaxSmResumptionTime(), 3 * 60 * 60);
|
||||
schedule(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in a new issue