|Summary:||ck-history is slow|
|Product:||ConsoleKit||Reporter:||Brian Cameron <brian.cameron>|
|Status:||NEW ---||QA Contact:|
|i915 platform:||i915 features:|
Description Brian Cameron 2009-12-15 12:53:18 UTC
ck-history is slow, often causing the GDM login GUI to pause or delay in launching. See GDM bugzilla bug #594344: https://bugzilla.gnome.org/show_bug.cgi?id=594344 A patch was provided to make GDM cache the output of ck-history, but it seems better to fix this problem in the ConsoleKit layer. If caching is necessary can it be added to ConsoleKit?
Comment 1 william.jon.mccann 2010-01-28 15:04:10 UTC
Sounds like a good idea.
Comment 2 william.jon.mccann 2010-06-11 12:57:47 UTC
A pretty simple fix might be to use the --since call from GDM: http://cgit.freedesktop.org/ConsoleKit/commit/?id=c9f2292339540d4b9d8940bcef16b7485480c8d9 Probably with a month or two window. Brian, can you test to see if that would help your situation?
Comment 3 Brian Cameron 2010-06-11 13:09:09 UTC
Sure, does GDM in head provide a configuration option so you can set the since value to use with ck-history, or is it necessary to hack GDM to add the option?
Comment 4 william.jon.mccann 2010-06-11 14:09:29 UTC
I've added a ~2 month value to master now.