mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 05:22:06 +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) {
|
if (!smWasEnabledAtLeastOnce) {
|
||||||
throw new StreamManagementException.StreamManagementNotEnabledException();
|
throw new StreamManagementException.StreamManagementNotEnabledException();
|
||||||
}
|
}
|
||||||
// Remove the listener after max. 12 hours
|
// Remove the listener after max. 3 hours
|
||||||
final int removeAfterSeconds = Math.min(getMaxSmResumptionTime(), 12 * 60 * 60);
|
final int removeAfterSeconds = Math.min(getMaxSmResumptionTime(), 3 * 60 * 60);
|
||||||
schedule(new Runnable() {
|
schedule(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Reference in a new issue