fix:[update v2.6] performance

This commit is contained in:
Terrtia 2019-12-17 15:59:00 +01:00
parent 056bad7a49
commit ef55024195
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -81,6 +81,7 @@ if __name__ == '__main__':
screenshot_sha256 = screenshot_sha256.replace('/', '') screenshot_sha256 = screenshot_sha256.replace('/', '')
update_db(screenshot_sha256) update_db(screenshot_sha256)
#print('Screenshot updated: {}'.format(nb)) #print('Screenshot updated: {}'.format(nb))
if nb % 1000 == 0:
r_serv_db.set('ail:current_background_script', 'screenshot updated: {}'.format(nb)) r_serv_db.set('ail:current_background_script', 'screenshot updated: {}'.format(nb))
r_serv_db.set('ail:current_background_script_stat', 100) r_serv_db.set('ail:current_background_script_stat', 100)