mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
fix: [update v1.5]
This commit is contained in:
parent
c675cb2eaa
commit
399e379241
1 changed files with 9 additions and 3 deletions
|
@ -118,12 +118,18 @@ if __name__ == '__main__':
|
||||||
last_progress = progress
|
last_progress = progress
|
||||||
|
|
||||||
#flush browse importante pastes db
|
#flush browse importante pastes db
|
||||||
r_important_paste_2018.flushdb()
|
try:
|
||||||
r_important_paste_2019.flushdb()
|
r_important_paste_2018.flushdb()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
r_important_paste_2019.flushdb()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
end = time.time()
|
end = time.time()
|
||||||
|
|
||||||
|
|
||||||
print('Updating ARDB_Tags Done => {} paths: {} s'.format(index, end - start))
|
print('Updating ARDB_Tags Done => {} paths: {} s'.format(index, end - start))
|
||||||
|
|
||||||
r_serv.sadd('ail:update_v1.5', 'tags')
|
r_serv.sadd('ail:update_v1.5', 'tags')
|
||||||
|
|
Loading…
Reference in a new issue