CodeChain-io/codechain-dashboard

Use connection pool in the remove_network_usage loop

Opened this issue · 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.