Skip to content

Commit

Permalink
chore: update --fast defaults (#989)
Browse files Browse the repository at this point in the history
* chore: update --fast defaults

* Update robyn/argument_parser.py

Co-authored-by: Sanskar Jethi <[email protected]>

---------

Co-authored-by: Sanskar Jethi <[email protected]>
  • Loading branch information
VishnuSanal and sansyrox authored Oct 23, 2024
1 parent 42f87f8 commit 6595587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions robyn/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def __init__(self) -> None:
if self.fast:
# doing this here before every other check
# so that processes, workers and log_level can be overridden
self.processes = self.processes or os.cpu_count() or 1
self.workers = self.workers or ((os.cpu_count() * 2) + 1) or 1
self.processes = self.processes or ((os.cpu_count() * 2) + 1) or 1
self.workers = self.workers or 2
self.log_level = self.log_level or "WARNING"

self.processes = self.processes or 1
Expand Down

0 comments on commit 6595587

Please sign in to comment.