diff options
-rw-r--r-- | askbot/startup_procedures.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/startup_procedures.py b/askbot/startup_procedures.py index 3adbd781..02fda329 100644 --- a/askbot/startup_procedures.py +++ b/askbot/startup_procedures.py @@ -1062,3 +1062,5 @@ def run(): except AskbotConfigError, error: print error sys.exit(1) + # close DB connection to prevent issues in prefork mode + connection.close() |