19👍
✅
The problem is solved by closing the DB connection at the beginning of each job.
For example,
@job
some_job():
from django.db import connection
connection.close()
some_more_code()
Source:stackexchange.com