mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-14 02:28:23 +00:00
fix:[update v2.6] performance
This commit is contained in:
parent
056bad7a49
commit
ef55024195
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue