mirror of https://github.com/rq/rq.git
Move lock aquire log from INFO to DEBUG level (#1737)
closes https://github.com/rq/rq/issues/1717
This commit is contained in:
parent
5119716911
commit
5f7ed6970d
|
@ -104,7 +104,7 @@ class RQScheduler:
|
|||
"""Returns names of queue it successfully acquires lock on"""
|
||||
successful_locks = set()
|
||||
pid = os.getpid()
|
||||
self.log.info("Trying to acquire locks for %s", ", ".join(self._queue_names))
|
||||
self.log.debug("Trying to acquire locks for %s", ", ".join(self._queue_names))
|
||||
for name in self._queue_names:
|
||||
if self.connection.set(self.get_locking_key(name), pid, nx=True, ex=self.interval + 60):
|
||||
successful_locks.add(name)
|
||||
|
|
Loading…
Reference in New Issue