Commit 1f0356a6 authored by Ray Strode's avatar Ray Strode
Browse files

lib: set infinite timeout for accounts manager calls

ListCachedUsers could theoretically be somewhat slow,
so set an unlmited timeout for it.
parent 1ab9e107
...@@ -1933,6 +1933,7 @@ act_user_manager_init (ActUserManager *manager) ...@@ -1933,6 +1933,7 @@ act_user_manager_init (ActUserManager *manager)
} }
return; return;
} }
g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (manager->priv->accounts_proxy), G_MAXINT);
g_signal_connect (manager->priv->accounts_proxy, g_signal_connect (manager->priv->accounts_proxy,
"user-added", "user-added",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment