We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47ed2a1 commit 3656742Copy full SHA for 3656742
1 file changed
application/cmd/cre_main.py
@@ -730,7 +730,10 @@ def backfill_gap_analysis_only(
730
if os.environ.get("CRE_NO_NEO4J") != "1":
731
populate_neo4j_db(db_connection_str)
732
733
- gap_analysis.backfill_opencre_direct_pairs(collection, refresh=True)
+ if os.environ.get("OPENCRE_ENV") not in {"heroku", "opencreorg"}:
734
+ gap_analysis.backfill_opencre_direct_pairs(collection, refresh=True)
735
+ else:
736
+ logger.warning("Skipping GA recomputation on production environment")
737
738
missing = _missing_ga_pairs(collection)
739
if max_pairs > 0:
0 commit comments