-
Notifications
You must be signed in to change notification settings - Fork 79
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
[EI-444] Migrate events processor to sdk #470
Conversation
|
||
fn main() -> Result<()> { | ||
let num_cpus = num_cpus::get(); | ||
let worker_threads = (num_cpus * RUNTIME_WORKER_MULTIPLIER).max(16); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand this is copied from the current code, but I don't see any reason to do RUNTIME_WORKER_MULTIPLIER, or max(16) here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you suggest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok to use just num_cpus
.
492ca77
to
af38d2c
Compare
be74c70
to
6c0e87a
Compare
Description
Migrate the events processor to using aptos-indexer-processor-sdk. The plan is to deploy it and monitor performance.
Testing
Run events processor