Skip to content

INFO Start step 200 'Generate supply plan' disconnect when run over 1 HR #644

Answered by maxware0715
maxware0715 asked this question in Q&A
Discussion options

You must be logged in to vote

I solve this issue by manually close old connection:

freppledb\common\commands.py
class PlanTaskSequence(PlanTask):
def run():
from django.db import close_old_connections
close_old_connections()

but root cause still not found.
guess caused by either psycopg2 or my infra environment settings

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by maxware0715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants