scVENUS / PeekabooAV

Peekaboo Extended Email Attachment Behavior Observation Owl
https://peekabooav.de
GNU General Public License v3.0
66 stars 20 forks source link

Reconsider aggressive database connection pool recycling #171

Closed michaelweiser closed 4 years ago

michaelweiser commented 4 years ago

Currently we're recycling the database connection pool every second, apparently to work around problems when the database goes away during a transaction. This should be handled by handling the error and retrying the operation and not trying to circumvent it by essentially opening a new connection on every request.