I have had a problem in which the addon opens two simultaneous connections to my MariaDB server. This results in the addon hanging up indefinitely, apparently waiting for the results of a query which the mysql CLI reports is "Waiting for table metadata lock".
I have added a check for an existing db connection in runUpdate() (which contained the only load_db() call not already protected by such a check). This seems to have fixed the problem for me.
I have had a problem in which the addon opens two simultaneous connections to my MariaDB server. This results in the addon hanging up indefinitely, apparently waiting for the results of a query which the
mysql
CLI reports is "Waiting for table metadata lock".I have added a check for an existing db connection in
runUpdate()
(which contained the onlyload_db()
call not already protected by such a check). This seems to have fixed the problem for me.