mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 22:47:04 +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):
|
def validate_not_none(self, key, data_key, data):
|
||||||
if data[data_key] == None:
|
if data[data_key] == None:
|
||||||
redis_store.delete(key)
|
redis_store.delete(key)
|
||||||
|
time.sleep(0.1)
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user