Fix magnitude of connectivity check timeout.
This commit is contained in:
parent
b8304b594b
commit
12adbbdcb1
1 changed files with 4 additions and 1 deletions
|
|
@ -68,7 +68,10 @@ public class Geary.ConnectivityManager : BaseObject {
|
|||
this.monitor.network_changed.connect(on_network_changed);
|
||||
|
||||
this.delayed_check = new TimeoutManager.seconds(
|
||||
CHECK_QUIESCENCE_MS, () => { this.check_reachable.begin(); }
|
||||
// Don't use the milliseconds ctor since we don't want
|
||||
// high-frequency timing.
|
||||
CHECK_QUIESCENCE_MS / 1000,
|
||||
() => { this.check_reachable.begin(); }
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue