Problemet løses ved at lukke DB-forbindelsen i begyndelsen af hvert job.
For eksempel,
@job
some_job():
from django.db import connection
connection.close()
some_more_code()
Problemet løses ved at lukke DB-forbindelsen i begyndelsen af hvert job.
For eksempel,
@job
some_job():
from django.db import connection
connection.close()
some_more_code()