issues
search
bitcoin-computer
/
monorepo
A Turing-complete smart contract system for Bitcoin and Litecoin
https://docs.bitcoincomputer.io/
29
stars
18
forks
source link
Optimized sync and monitoring
#220
Closed
ltardivo
closed
3 months ago
ltardivo
commented
3 months ago
Parallel Sync Implementation:
Utilizes a configurable thread pool, scaling based on available CPU cores or user-defined settings from the command line.
Introduces a central process to manage the parallel threads.
In case of failure within any individual thread, the main process aborts, triggering a Docker restart of the sync service.
Improves overall sync speed for testnet and mainnet deployments.
Improved Logging Visibility:
Detaches DB logs from the Winston logger.
Enables separate configuration and management of DB logs using a dedicated environment variable.
All logs (including DB logs) are now readily available through the Docker dashboard or standard output, improving overall visibility.
ClemensLey
commented
3 months ago
Great
Parallel Sync Implementation:
Improved Logging Visibility: