Skip to content

Commit 58bf17f

Browse files
committed
[IMP] queue_job: tweak comment and warning message
1 parent 1b17ecf commit 58bf17f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

queue_job/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "Job Queue",
5-
"version": "18.0.1.2.1",
5+
"version": "18.0.1.3.0",
66
"author": "Camptocamp,ACSONE SA/NV,Odoo Community Association (OCA)",
77
"website": "https://github.com/OCA/queue",
88
"license": "LGPL-3",

queue_job/job.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def load_many(cls, env, job_uuids):
225225

226226
def add_lock_record(self):
227227
"""
228-
Create row in db to be locked once the job is performed
228+
Create row in db to be locked while the job is being performed.
229229
"""
230230
self.env.cr.execute(
231231
"""

queue_job/jobrunner/runner.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,7 @@ def requeue_dead_jobs(self):
389389
cr.execute(query)
390390

391391
for (uuid,) in cr.fetchall():
392-
_logger.warning(
393-
"Re-queued job with uuid: %s",
394-
uuid,
395-
)
392+
_logger.warning("Re-queued dead job with uuid: %s", uuid)
396393

397394

398395
class QueueJobRunner:

0 commit comments

Comments
 (0)