mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
2008-10-22 Dan Williams <dcbw@redhat.com>
* src/nm-gsm-device.c - (schedule_automatic_registration_again): use a short timeout here instead of an idle handler to avoid using too much CPU polling for something we should be waiting a bit for anyway git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4205 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
aa9adc73d5
commit
08cb46aa8a
|
@ -1,3 +1,10 @@
|
||||||
|
2008-10-22 Dan Williams <dcbw@redhat.com>
|
||||||
|
|
||||||
|
* src/nm-gsm-device.c
|
||||||
|
- (schedule_automatic_registration_again): use a short timeout here
|
||||||
|
instead of an idle handler to avoid using too much CPU polling for
|
||||||
|
something we should be waiting a bit for anyway
|
||||||
|
|
||||||
2008-10-22 Dan Williams <dcbw@redhat.com>
|
2008-10-22 Dan Williams <dcbw@redhat.com>
|
||||||
|
|
||||||
* include/NetworkManager.h
|
* include/NetworkManager.h
|
||||||
|
|
|
@ -328,7 +328,7 @@ schedule_automatic_registration_again (NMGsmDevice *self)
|
||||||
if (priv->pending_id)
|
if (priv->pending_id)
|
||||||
g_source_remove (priv->pending_id);
|
g_source_remove (priv->pending_id);
|
||||||
|
|
||||||
priv->pending_id = g_idle_add (automatic_registration_again, self);
|
priv->pending_id = g_timeout_add (1000, automatic_registration_again, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue