mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Sleep after delete key
This commit is contained in:
parent
6df7bbab25
commit
c28caed0ee
@ -42,6 +42,7 @@ class RedisQueue:
|
||||
def validate_not_none(self, key, data_key, data):
|
||||
if data[data_key] == None:
|
||||
redis_store.delete(key)
|
||||
time.sleep(0.1)
|
||||
return False
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user