mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 03:36:24 -04:00
deactivate travis as it does not work anymore with javaFX
This commit is contained in:
parent
b906aa18a5
commit
4d82467fa3
5 changed files with 36 additions and 20 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue