codechain-dashboard icon indicating copy to clipboard operation
codechain-dashboard copied to clipboard

Use connection pool in the remove_network_usage loop

Open majecty opened this issue 7 years ago • 0 comments

Ubuntu automatically updates PostgreSQL for the security. The dashboard server should reconnect when PostgreSQL is restarted. There are two parts that are using PostgreSQL connection. One is db_service and the other one is remove_network_usage. db_service is already using the connection pool but remove_network_usage is not using the connection pool.

majecty avatar Nov 20 '19 01:11 majecty