Comment 7 for bug 416629

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :

Unfortunately the bug is still there. I've opted for a more radical approach, and made the PackageStore class lazy, that means it creates the connection only when some queries are actually being requested.

I real-world tested the attached branch and it seems to work, as times at which the packagemanager and the packagemonitor handle their messages are typically not close (while the the times at which they register themselves as plugins are).

I think we should push this fix to the various AMIs, as it is particularly relevant for cloud instances.