Skip to content

Commit

Permalink
chore: step down db read threadpool size
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Dec 20, 2024
1 parent e4bc517 commit 1008c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth_portfolio/_db/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ def __bind():
_block_executor = PruningThreadPoolExecutor(4, "eth-portfolio block")
_token_executor = PruningThreadPoolExecutor(4, "eth-portfolio token")
_address_executor = PruningThreadPoolExecutor(4, "eth-portfolio address")
_transaction_read_executor = PruningThreadPoolExecutor(16, "eth-portfolio-transaction-read")
_transaction_read_executor = PruningThreadPoolExecutor(12, "eth-portfolio-transaction-read")
_transaction_write_executor = PruningThreadPoolExecutor(4, "eth-portfolio-transaction-write")
_token_transfer_read_executor = PruningThreadPoolExecutor(16, "eth-portfolio-token-transfer-read")
_token_transfer_read_executor = PruningThreadPoolExecutor(12, "eth-portfolio-token-transfer-read")
_token_transfer_write_executor = PruningThreadPoolExecutor(4, "eth-portfolio-token-transfer-write")
_internal_transfer_read_executor = PruningThreadPoolExecutor(
16, "eth-portfolio-internal-transfer read"
Expand Down

0 comments on commit 1008c26

Please sign in to comment.