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 2e52c37 commit 9415676Copy full SHA for 9415676
djcelery/snapshot.py
@@ -138,7 +138,9 @@ def _handle_tasks():
138
# force to close connection and Django will automatically reconnect
139
if str(e) == 'connection already closed':
140
connection.close()
141
- logger.info('Django db connection is closed and will reconnect')
+ logger.info(
142
+ 'Django db connection is closed and will reconnect'
143
+ )
144
145
def on_cleanup(self):
146
expired = (self.TaskState.objects.expire_by_states(states, expires)
0 commit comments