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

#3070-error-indexing-method #3071

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ internal class FunctionIndexProvider : IFunctionIndexProvider
private readonly bool _allowPartialHostStartup;
private readonly IConfiguration _configuration;
private readonly IInstanceServicesProviderFactory _instanceServicesFactory;
private readonly INameResolver _nameResolver;
private IFunctionIndex _index;

public FunctionIndexProvider(ITypeLocator typeLocator,
Expand All @@ -45,6 +46,7 @@ public FunctionIndexProvider(ITypeLocator typeLocator,
IOptions<JobHostOptions> hostOptions,
IConfiguration configuration,
IInstanceServicesProviderFactory instanceServicesFactory,
INameResolver nameResolver,
IRetryStrategy defaultRetryStrategy = null)
{
_typeLocator = typeLocator ?? throw new ArgumentNullException(nameof(typeLocator));
Expand All @@ -60,6 +62,7 @@ public FunctionIndexProvider(ITypeLocator typeLocator,
_allowPartialHostStartup = hostOptions.Value.AllowPartialHostStartup;
_configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
_defaultRetryStrategy = defaultRetryStrategy;
_nameResolver = nameResolver;
}

public async Task<IFunctionIndex> GetAsync(CancellationToken cancellationToken)
Expand All @@ -83,8 +86,8 @@ private async Task<IFunctionIndex> CreateAsync(CancellationToken cancellationTok
_singletonManager,
_loggerFactory,
_configuration,
_instanceServicesFactory,
null,
_instanceServicesFactory,
_nameResolver,
_sharedQueue,
_defaultTimeout,
_allowPartialHostStartup,
Expand Down
Loading