X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Fconfig%2Fdeployment.ini_tmpl;h=7cf3cf108405ef825ee465f376462853f332f01e;hb=b388680b952ba47bc0fa7d4502e7d2831a392eda;hp=aac0095abda96f52442a8191baff6a58fb826bcf;hpb=f8814994349f84b9636c22e75c75e02511a8eb36;p=bluechips.git diff --git a/bluechips/config/deployment.ini_tmpl b/bluechips/config/deployment.ini_tmpl index aac0095..7cf3cf1 100644 --- a/bluechips/config/deployment.ini_tmpl +++ b/bluechips/config/deployment.ini_tmpl @@ -32,6 +32,10 @@ app_instance_uuid = ${app_instance_uuid} sqlalchemy.url = sqlite:///production.db sqlalchemy.echo = False +# If you're using MySQL, uncomment this line to avoid the "MySQL +# server has gone away" error +#sqlalchemy.pool_recycle = 3600 + # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* # Debug mode will enable the interactive debugging tool, allowing ANYONE to # execute malicious code after an exception is raised.