We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Garnet.Options we use a Func<INamedDeviceFactory> that each time called returns a new instance.
Garnet.Options
Func<INamedDeviceFactory>
We could use a Lazy<INamedDeviceFactory> here to reduce the instances used to 1.
Lazy<INamedDeviceFactory>
AzureStorageNamedDeviceFactory
logger?.LogInformation("AzureStorageNamedDeviceFactory: serviceUri: {serviceUri}", serviceUri);
AzureStorageNamedDeviceFactory should be created only once
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
In
Garnet.Options
we use aFunc<INamedDeviceFactory>
that each time called returns a new instance.We could use a
Lazy<INamedDeviceFactory>
here to reduce the instances used to 1.Steps to reproduce the bug
AzureStorageNamedDeviceFactory
contructor,ex:
Expected behavior
AzureStorageNamedDeviceFactory
should be created only onceScreenshots
No response
Release version
No response
IDE
No response
OS version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: