CodeChain-io / CodeChain-io/codechain-dashboard

Use connection pool in the remove_network_usage loop

Open
#79 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
27
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.