chore: 16 jobs for pg restore

This commit is contained in:
Yuanhai He
2023-05-17 05:55:39 +00:00
parent 2ec46cbbd0
commit fe21c987c2

View File

@@ -14,4 +14,4 @@ curl -o postgresql/latest.dump https://archive.hiro.so/mainnet/stacks-blockchain
docker-compose up -d stacks-blockchain-postgres
WAIT_HOSTS='127.0.0.1:5432' ./wait
docker exec -it stacks_postgres pg_restore -j 8 -Upostgres -v -C -d alexgo /var/lib/postgresql/latest.dump
docker exec -it stacks_postgres pg_restore -j 16 -Upostgres -v -C -d alexgo /var/lib/postgresql/latest.dump