FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 62 forks source link

Use a ConcurrentDictionary to remember which calls did work #1147

Open fubar-coder opened 6 months ago

fubar-coder commented 6 months ago

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

Fixes #1146

fubar-coder commented 6 months ago

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.

fubar-coder commented 3 months ago

Hi,

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

fubar-coder commented 2 weeks ago

@cincuranet Hi, I made the requested changes. Are there any other open points with this PR?