Skip to content

Commit

Permalink
Revert "feat: run inserts in batch and in parallel when processing ne…
Browse files Browse the repository at this point in the history
…w block (#1818)"

This reverts commit 86dfdb5.
  • Loading branch information
rafaelcr committed Jan 18, 2024
1 parent 3535c11 commit 5dba8e4
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 273 deletions.
4 changes: 0 additions & 4 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ PG_APPLICATION_NAME=stacks-blockchain-api
# Limit to how many concurrent connections can be created, defaults to 10
# PG_CONNECTION_POOL_MAX=10

# Insert concurrency when processing new blocks
# If your PostgreSQL is operating on SSD and has multiple CPU cores, consider raising this value, for instance, to 8 or 16.
# STACKS_BLOCK_DATA_INSERT_CONCURRENCY=4

# If specified, controls the Stacks Blockchain API mode. The possible values are:
# * `readonly`: Runs the API endpoints without an Event Server that listens to events from a node and
# writes them to the local database. The API will only read data from the PG database
Expand Down
Loading

0 comments on commit 5dba8e4

Please sign in to comment.