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

Add parallelization to tootctl search deploy #12051

Merged

Conversation

noellabo
Copy link
Contributor

@noellabo noellabo commented Oct 2, 2019

Parallelization makes index generation very fast.

@tribela
Copy link
Contributor

tribela commented Oct 2, 2019

On rake job, there are chewy:deploy and chewy:parallel:deploy.
Parallel is so fast, But sometimes it consume CPU very much and service gets unstable.
How about make it optional like tootctl search deploy -p=4?

lib/mastodon/search_cli.rb Outdated Show resolved Hide resolved
lib/mastodon/search_cli.rb Outdated Show resolved Hide resolved
@Gargron
Copy link
Member

Gargron commented Oct 2, 2019

Hm, I wonder if --parallel should actually be --processes, because that's what the number controls through chewy/parallelize.

@Gargron Gargron changed the title Parallelizing tootctl search deploy Add parallelization to tootctl search deploy Oct 2, 2019
@Gargron Gargron merged commit 0ce0baa into mastodon:master Oct 2, 2019
@noellabo noellabo deleted the feature-parallelizing-tootctl-search-deploy branch October 2, 2019 23:35
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.

None yet

3 participants