Refresh the packagekit database every day and 5 minutes after starting
the notifier
Details
Details
- Reviewers
sitter - Commits
- R134:0e271924e5d0: Manage PackageKit database refresh
Diff Detail
Diff Detail
- Repository
- R134 Discover Software Store
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp | ||
---|---|---|
33 | This is likely not doing what you think it does... Anyway, no issue in this patch though. |
libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp | ||
---|---|---|
33 | Given the new refreshDatabase calls recheckSystemUpdateNeeded based on a signal out of the daemon it should be fine. But yeah, this if block can go entirely given this new behavior. Additionally the same isRunning guard probably should be dropped from recheckSystemUpdateNeeded as it is fairly useless there. |