Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cd ~/py-tpcc/pytpcc
~/py-tpcc/pytpcc$ python ./tpcc.py --print-config mongodb > mongodb.config
```

4. Edit the configuraiton for Postgres in the mongodb.config.
4. Edit the configuration for Postgres in the mongodb.config.
* Change shards to the number of `shards`
* Change the mongodb connection `uri` string
* Change the database `name`
Expand Down
6 changes: 3 additions & 3 deletions pytpcc/tpcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ def getDrivers():

## ==============================================
## startLoading.
# This intentionally uses multiprocess pool and intentionally stats new processes for each batch
# becuase for long running, many hour long loads, the connection between the child process and the parent process is lost
# and the parent block indefinitelly waiting for the result.
# This intentionally uses multiprocess pool and intentionally starts new processes for each batch
# because for long running, many hour long loads, the connection between the child process and the parent process is lost
# and the parent process blocks indefinitelly waiting for the result.
## ==============================================
def startLoading(driverClass, scaleParameters, args, config):
"""
Expand Down