WIP (testing)

This commit is contained in:
Manfred Karrer 2016-02-19 23:11:57 +01:00
parent 78a9662220
commit 3efca4101a
2 changed files with 3 additions and 1 deletions

View file

@ -183,6 +183,7 @@ public class OpenOfferManager {
// We have been idle for at least 5 sec.
//republishOffers();
// run again after 5 sec as it might be that the app needs a bit for getting all re-animated again
allowRefreshOffers = false;
if (republishOffersTimer == null)
republishOffersTimer = UserThread.runAfter(OpenOfferManager.this::republishOffers, 5);
}
@ -204,6 +205,7 @@ public class OpenOfferManager {
//republishOffers();
// run again after 5 sec as it might be that the app needs a bit for getting all re-animated again
log.error("We got re-connected again after loss of all connection. We re-publish our offers now.");
allowRefreshOffers = false;
republishOffersTimer = UserThread.runAfter(OpenOfferManager.this::republishOffers, 5);
}
}