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 a ConcurrentDictionary to remember which calls did work #1147

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fubar-coder
Copy link

This is needed to avoid unnecessary EntryPointNotFoundException exceptions, as they massively slow down program execution - especially in development environments.

Fixes #1146

This is needed to avoid unnecessary EntryPointNotFoundException exceptions, as they massively slow down program execution - especially in development environments.
@fubar-coder
Copy link
Author

fubar-coder commented Dec 4, 2023

It was a deliberate decision to not remember the action as successful or failed when an exception other than EntryPointNotFoundException gets thrown. I can mark it as successful, but it shouldn't change anything in terms of performance or reliability.

Using nameof(IFBClient.xyz), and StringComparer.Ordinal.
@fubar-coder
Copy link
Author

Hi,

thank you for your review. I made the two requested changes.

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.

Avoid unnecessary EntryPointNotFoundException
2 participants