Changeset 585778cd
- Timestamp:
- May 9, 2019 10:10:24 AM (22 months ago)
- Branches:
- master
- Children:
- cbeaca6
- Parents:
- cb0235b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/routerconsole/java/src/net/i2p/router/web/PluginStarter.java
rcb0235b r585778cd 174 174 175 175 if (delay) { 176 // wait for router. 177 // i2ptunnel won't start until isRunning() 178 int loop = 0; 179 while (!ctx.router().isRunning()) { 180 try { 181 Thread.sleep(10*1000); 182 } catch (InterruptedException ie) { return; } 183 // 30 minutes 184 if (loop++ > 180) return; 185 } 176 186 // wait for proxy 177 187 mgr.update(TYPE_DUMMY, 3*60*1000); 178 188 mgr.notifyProgress(null, Messages.getString("Checking for plugin updates", ctx)); 179 intloop = 0;189 loop = 0; 180 190 do { 181 191 try { 182 192 Thread.sleep(5*1000); 183 } catch (InterruptedException ie) { }193 } catch (InterruptedException ie) { break; } 184 194 if (loop++ > 40) break; 185 195 } while (mgr.isUpdateInProgress(TYPE_DUMMY));
Note: See TracChangeset
for help on using the changeset viewer.