We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9ab71 commit 2e52c37Copy full SHA for 2e52c37
djcelery/snapshot.py
@@ -137,7 +137,7 @@ def _handle_tasks():
137
# When connection already closed exception is raised,
138
# force to close connection and Django will automatically reconnect
139
if str(e) == 'connection already closed':
140
- connction.close()
+ connection.close()
141
logger.info('Django db connection is closed and will reconnect')
142
143
def on_cleanup(self):
0 commit comments