Skip to content

Commit

Permalink
feat: allow_multiple_runs is true by default
Browse files Browse the repository at this point in the history
Signed-off-by: inimaz <[email protected]>
  • Loading branch information
inimaz committed Feb 6, 2025
1 parent 842ccf6 commit 0eca00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codecarbon/emissions_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def __init__(

# logger.info("base tracker init")
self._external_conf = get_hierarchical_config()
self._set_from_conf(allow_multiple_runs, "allow_multiple_runs", False, bool)
self._set_from_conf(allow_multiple_runs, "allow_multiple_runs", True, bool)
if self._allow_multiple_runs:
logger.warning(
"Multiple instances of codecarbon are allowed to run at the same time."
Expand Down

0 comments on commit 0eca00d

Please sign in to comment.