mirror of https://github.com/zlatinb/muwire
delay initial update check a minute
parent
3e49b0ec66
commit
f3712fe7af
|
@ -36,7 +36,7 @@ class UpdateClient {
|
||||||
|
|
||||||
void start() {
|
void start() {
|
||||||
session.addMuxedSessionListener(new Listener(), I2PSession.PROTO_DATAGRAM, 2)
|
session.addMuxedSessionListener(new Listener(), I2PSession.PROTO_DATAGRAM, 2)
|
||||||
timer.schedule({checkUpdate()} as TimerTask, 30000, 60 * 60 * 1000)
|
timer.schedule({checkUpdate()} as TimerTask, 60000, 60 * 60 * 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
void stop() {
|
void stop() {
|
||||||
|
|
Loading…
Reference in New Issue