Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update --fast defaults #989

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
VishnuSanal marked this conversation as resolved.
Show resolved Hide resolved
self.workers = self.workers or 2
self.log_level = self.log_level or "WARNING"

self.processes = self.processes or 1
Expand Down
Loading