mirror of https://github.com/CIRCL/AIL-framework
fix: [update v1.5]
parent
c675cb2eaa
commit
399e379241
|
@ -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 New Issue