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

ref(service): Remove unused I/O threadpool #378

Merged
merged 1 commit into from
Feb 6, 2021

Conversation

jan-auer
Copy link
Member

@jan-auer jan-auer commented Feb 6, 2021

The service state used to create an I/O threadpool that was passed into the
objects and download services. The pool has been removed from the Download
service since, and is not used in the objects actor. Therefore, it is dead code
and can be removed.

#skip-changelog

@jan-auer jan-auer self-assigned this Feb 6, 2021
@jan-auer jan-auer requested a review from a team February 6, 2021 17:59
@jan-auer
Copy link
Member Author

jan-auer commented Feb 6, 2021

This is based on #377.

Copy link
Member

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why this was not flagged as dead code?

Base automatically changed from ref/actors-services to master February 6, 2021 18:46
@jan-auer
Copy link
Member Author

jan-auer commented Feb 6, 2021

That's an excellent question, I'm not entirely sure. FetchFileMetaRequest and its fields are pub(super); maybe the compiler stops there with dead code detection.

@jan-auer jan-auer merged commit f989c5c into master Feb 6, 2021
@jan-auer jan-auer deleted the ref/remove-unused-io-pool branch February 6, 2021 18:50
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.

2 participants