How to pass a function containing pymongo db to rq queue (bypassing the inabillity to seralize _thread.lock)?

前端 未结 0 616
孤街浪徒
孤街浪徒 2021-01-05 10:14

I have a db and a service that monitors it. I want to enqueue calls regarding said db to an rq.Queue:

callback.py

from pymongo import Mo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题