forgot something

This commit is contained in:
JerryXiao 2019-04-09 15:49:25 +08:00
parent 87b7d11651
commit ec0d33b2a4
Signed by: Jerry
GPG Key ID: 9D9CE43650FF2BAA
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ class jobsManager:
# This part check for updates
if time() - self.last_updatecheck <= UPDATE_INTERVAL:
sleep(60)
return
self.last_updatecheck = time()
updates = updmgr.check_update()
for update in updates:
(pkgconfig, ver, buildarchs) = update