Skip to content

Commit

Permalink
Merge branch 'develop' into 'main'
Browse files Browse the repository at this point in the history
Develop

See merge request locker/api-core!475
  • Loading branch information
phuongntt-cystack committed Aug 13, 2024
2 parents 278f8e4 + c058717 commit 7a8202e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions server_config/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import django.db.backends.utils
from django.db import OperationalError
from django.db import OperationalError, connection
import time

import logging.config
Expand All @@ -17,7 +17,8 @@ def execute_wrapper(*args, **kwargs):
if attempts == 2 or code != 1213:
raise e
attempts += 1

# Close the current connection
connection.close()
from locker_server.shared.log.config import logging_config

logging.config.dictConfig(logging_config)
Expand Down

0 comments on commit 7a8202e

Please sign in to comment.