Skip to content

feat(shared-ini-file-loader): remove concurrent/duplicate calls to readFile #3281

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

Closed
wants to merge 5 commits into from

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Feb 4, 2022

Issue

Fixes: #3019

Description

Removes concurrent/duplicate calls to readFile by using a hash.

Testing

ToDo: Unit testing

Single client

Refs: #3019 (comment)

  • Before: 4 calls to readFile
  • After: 2 calls to readFile
Two clients

Refs: #3019 (comment)

  • Before: 8 calls to readFile
  • After: 2 calls to readFile
Client with an operation

Refs: #3019 (comment)

  • Before: 16 calls to readFile
  • After: 12 calls to readFile

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr
Copy link
Member Author

trivikr commented Feb 4, 2022

Superceded by #3282

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clients read config from file resulting in EMFILE (too many open files) errors
3 participants