Skip to content

Commit

Permalink
tune down concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Dec 19, 2023
1 parent 73ec797 commit 764ef0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/graphsenselib/ingest/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ def submit_tasks(ex, thrd_ctx, tasks, data=None):
completed = next(concurrent.futures.as_completed(tasks))
tasks.remove(completed)
for cont_task, data in completed.result():
# Get the data for the progess indicator
# Get the data for the progress indicator
if isinstance(cont_task, StoreTask) and data[0] == "block":
blocks = data[1]

Expand Down
2 changes: 1 addition & 1 deletion src/graphsenselib/ingest/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

INGEST_SINKS = ["parquet", "cassandra"]

CASSANDRA_INGEST_DEFAULT_CONCURRENCY = 1000
CASSANDRA_INGEST_DEFAULT_CONCURRENCY = 100

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 764ef0d

Please sign in to comment.