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

Default process sleep_duration to 0 #231

Merged
merged 2 commits into from
Sep 26, 2019

Conversation

swrobel
Copy link
Collaborator

@swrobel swrobel commented Aug 28, 2019

I see no ill effects of this, so I don't see why everyone should be waiting 1 second between processes starting by default. It's wasting precious time. Fixes #226

@swrobel swrobel force-pushed the allow-0-sleep-duration branch from c7206ae to 0847d66 Compare August 29, 2019 00:03
@swrobel
Copy link
Collaborator Author

swrobel commented Sep 17, 2019

@gnufied do you still want to review these or should I just start merging? I'm interested in your review here, especially because you originally made the change to set sleep_duration to a minimum of 1

@swrobel swrobel requested a review from gnufied September 26, 2019 21:38
@swrobel
Copy link
Collaborator Author

swrobel commented Sep 26, 2019

@gnufied I hate to bug you at all as I imagine you're quite busy, but I'd love to get your thoughts on this PR in particular. I'm happy to go ahead and merge all of them to save you the trouble of resolving conflicts.

@gnufied
Copy link
Contributor

gnufied commented Sep 26, 2019

can you fix the conflict? I remember putting 1s sleep because spawning processes without sleep was causing some issues.

@swrobel
Copy link
Collaborator Author

swrobel commented Sep 26, 2019

Conflict fixed. I've been using this change for a while w/ 4 processes & have had no issues on macOS.

@gnufied gnufied merged commit 40a18e2 into codemancers:master Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why isn't it possible to set sleep_duration to 0?
2 participants