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

Use separate file for handlers #67

Closed
wants to merge 2 commits into from

Conversation

kukovecz
Copy link
Contributor

Fixes #43

Other test classes has their own fake_file fixtures, so let's not mix
them up.
The aim here is to keep the possibility to parallelize handler
executions. For this, each hander needs to have the ability to be
exclusive with the given file, because they are doing file heavy
operations (seek, read) all over the place.
With this modification, each LimitedStartReader will read its own file
descriptor instead of using the a common one. For each handler, we are
already passing a different LimitedStartReader instance, which is good.
@kukovecz
Copy link
Contributor Author

We closed this in favor of #71 and #72 - we are going with the parallelization in a different direction.

@kukovecz kukovecz deleted the 43-use-separate-file-for-handlers branch December 1, 2021 19:22
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.

Multiple handler should be able to use the same file at the same time
2 participants