After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667400 - Avoid spawning notification daemon at startup
Avoid spawning notification daemon at startup
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nm-applet
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2012-01-06 10:57 UTC by Martin Pitt
Modified: 2012-03-09 19:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Lazily initialize notification service (2.14 KB, patch)
2012-01-06 10:58 UTC, Martin Pitt
none Details | Review

Description Martin Pitt 2012-01-06 10:57:11 UTC
nm-applet is one of the few (in fact, the last on my system) components which
spawn notification-daemon (or notify-osd) at startup, through querying server
caps. It would be more efficient to lazily initialize the server
cap query to only spawn the notification-daemon when necessary.

This improves boot speed a tad, by avoiding to start the notification service
at all.

Thanks for considering!
Comment 1 Martin Pitt 2012-01-06 10:58:47 UTC
Created attachment 204733 [details] [review]
Lazily initialize notification service
Comment 2 Dan Williams 2012-03-09 19:54:26 UTC
Thanks! pushed to git master and should hit 0.9.4