[appimage] improvement -> caching suggestions to disk

This commit is contained in:
Vinicius Moreira
2021-02-01 17:09:30 -03:00
parent 8030e6cbe8
commit 7a3245ae5e
16 changed files with 191 additions and 23 deletions

View File

@@ -477,7 +477,7 @@ class GenericSoftwareManager(SoftwareManager):
mti = time.time()
man_sugs = man.list_suggestions(limit=limit, filter_installed=filter_installed)
mtf = time.time()
self.logger.info(man.__class__.__name__ + ' took {0:.2f} seconds'.format(mtf - mti))
self.logger.info(man.__class__.__name__ + ' took {0:.5f} seconds'.format(mtf - mti))
if man_sugs:
if 0 < limit < len(man_sugs):