MI-DPLA / combine

Combine /kämˌbīn/ - Metadata Aggregator Platform
MIT License
26 stars 11 forks source link

background tasks, MySQL gone away #224

Closed ghukill closed 5 years ago

ghukill commented 6 years ago

When Combine background tasks attempts to run spark jobs in the background, there is occassionally the problem of:

"django.db.utils.OperationalError: (2006, 'MySQL server has gone away')\n"], 'ename': 'OperationalError'}

This is very similar to problems the front-end GUI had with MySQL, perhaps the fix will be similar as well.

ghukill commented 5 years ago

Addressed by maxing out MySQL's wait_timeout. Can revisit if necessary.