deactivate travis as it does not work anymore with javaFX

This commit is contained in:
Manfred Karrer 2015-11-03 17:28:04 +01:00
parent b906aa18a5
commit 4d82467fa3
5 changed files with 36 additions and 20 deletions

View file

@ -168,9 +168,9 @@ public class OpenOfferManager {
executor.allowCoreThreadTimeOut(true);
executor.setExecuteExistingDelayedTasksAfterShutdownPolicy(false);
checkArgument(Offer.TTL > 60000, "Offer.TTL <= 60");
checkArgument(Offer.TTL > 120000, "Offer.TTL <= 120");
long period = Offer.TTL - 120000; // 2 min before TTL expires
executor.scheduleAtFixedRate(this::rePublishOffers, 0, period, TimeUnit.SECONDS);
executor.scheduleAtFixedRate(this::rePublishOffers, 500, period, TimeUnit.MILLISECONDS);
}
private void rePublishOffers() {