Redis – TypeError: cannot pickle '_thread.lock' object with RQ
I am using RQ with flask for queuing jobs in loop. I have the following code : from rq import Queue from rq.job import Job from worker import conn q = Queue(connection=conn) for i in range(5): job = q.enqueue_call( func=process_data,…