mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-01 04:55:00 -04:00
Fix wrong timeunit for timeout
This commit is contained in:
parent
bd3b55cf47
commit
d506a1acfc
1 changed files with 2 additions and 1 deletions
|
@ -73,6 +73,7 @@ import org.slf4j.LoggerFactory;
|
|||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
@ -206,7 +207,7 @@ public class MainViewModel implements ViewModel {
|
|||
.closeButtonText("Shut down")
|
||||
.onClose(BitsquareApp.shutDownHandler::run)
|
||||
.show();
|
||||
}, 3);
|
||||
}, 3, TimeUnit.MINUTES);
|
||||
|
||||
/*startupTimeout = FxTimer.runLater(Duration.ofMinutes(3), () -> {
|
||||
log.warn("startupTimeout called");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue