timeout_verify -> verify_timeout.

This commit is contained in:
Michael Bayne
2019-04-30 10:58:46 -07:00
parent 635feb97d6
commit 901682d5f7
4 changed files with 10 additions and 6 deletions
@@ -747,7 +747,7 @@ public class Application
_dockName = config.getString("ui.name");
_dockIconPath = config.getString("ui.mac_dock_icon", "../desktop.icns");
_timeoutVerify = config.getInt("timeout_verify", 60);
_verifyTimeout = config.getInt("verify_timeout", 60);
return config;
}
@@ -1313,9 +1313,9 @@ public class Application
while (completed[0] < rsrcs.size()) {
// we should be getting progress completion updates WAY more often than one every
// minute, so if things freeze up for 60 seconds, abandon ship
Runnable action = actions.poll(_timeoutVerify, TimeUnit.SECONDS);
Runnable action = actions.poll(_verifyTimeout, TimeUnit.SECONDS);
if (action == null) {
throw new IllegalStateException("m.timeout_verify");
throw new IllegalStateException("m.verify_timeout");
}
action.run();
}
@@ -1757,7 +1757,7 @@ public class Application
protected List<Resource> _codes = new ArrayList<>();
protected List<Resource> _resources = new ArrayList<>();
protected int _timeoutVerify = 60;
protected int _verifyTimeout = 60;
protected boolean _useCodeCache;
protected int _codeCacheRetentionDays;