parent
b6eeec23cc
commit
106a083ca2
|
@ -67,10 +67,9 @@ class Jobs:
|
||||||
"""
|
"""
|
||||||
Reset the jobs list.
|
Reset the jobs list.
|
||||||
"""
|
"""
|
||||||
r = RedisPool().get_connection()
|
|
||||||
jobs = Jobs.get_jobs()
|
jobs = Jobs.get_jobs()
|
||||||
for job in jobs:
|
for job in jobs:
|
||||||
r.delete(redis_key_from_uuid(job.uid))
|
Jobs.remove(job)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def add(
|
def add(
|
||||||
|
|
Loading…
Reference in New Issue