Harry Martland opened merge request !527: Refactors config and adds mysql2 pooling at Shinobi Systems / Shinobi

Harry Martland
2025-01-27T20:50:49Z

Since upgrading to mysql 8 I think I was getting errors which were stopping ONVIF notifications triggering recording. I think this may be due to the DB connection dropping on the DB side and the application not realising. When the application then tries to use the connection it then errors. Reading the Kenex docs it suggests setting the pool to min 0.

I have also refactored the config, breaking out each db type into its own file to hopefully make it clearer what is going on.