Skip to content

Commit

Permalink
Merge pull request #144 from IATI/hotfix/env-var-fix
Browse files Browse the repository at this point in the history
handle not being passed solr parallel process env var
  • Loading branch information
nosvalds authored May 27, 2022
2 parents 6c2a0ff + 4166298 commit c7fd6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
FLATTENER_KEY_VALUE = os.getenv('FLATTENER_KEY_VALUE')
),
SOLRIZE = dict(
PARALLEL_PROCESSES = int(os.getenv('SOLR_PARALLEL_PROCESSES')),
PARALLEL_PROCESSES = int(os.getenv('SOLR_PARALLEL_PROCESSES') or 1),
MAX_BATCH_LENGTH = 1000,
SOLR_API_URL = os.getenv('SOLR_API_URL'),
SOLR_USER = os.getenv('SOLR_USER'),
Expand Down

0 comments on commit c7fd6b8

Please sign in to comment.