[geary/wip/conversation-polish: 11/26] Kick off periodic checks in ConnectivityManager to discover net issues
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/conversation-polish: 11/26] Kick off periodic checks in ConnectivityManager to discover net issues
- Date: Sat, 2 Feb 2019 02:10:54 +0000 (UTC)
commit 207a3ed2321775f0a9b1f3fd21e0808eba0a4fd0
Author: Michael Gratton <mike vee net>
Date: Thu Jan 24 18:59:52 2019 +1100
Kick off periodic checks in ConnectivityManager to discover net issues
src/engine/util/util-connectivity-manager.vala | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/engine/util/util-connectivity-manager.vala b/src/engine/util/util-connectivity-manager.vala
index c683323f..fdf61e0d 100644
--- a/src/engine/util/util-connectivity-manager.vala
+++ b/src/engine/util/util-connectivity-manager.vala
@@ -155,6 +155,10 @@ public class Geary.ConnectivityManager : BaseObject {
} finally {
if (!cancellable.is_cancelled()) {
set_reachable(is_reachable);
+
+ // Kick off another delayed check in case the network
+ // changes without the monitor noticing.
+ this.delayed_check.start();
}
this.existing_check = null;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]