We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f0ea7 commit 5cb04e7Copy full SHA for 5cb04e7
src/DotNetWorker.Core/Hosting/ServiceCollectionExtensions.cs
@@ -110,10 +110,11 @@ public static IFunctionsWorkerApplicationBuilder AddFunctionsWorkerCore(this ISe
110
{
111
builder = new FunctionsWorkerApplicationBuilder(services);
112
services.AddSingleton<IFunctionsWorkerApplicationBuilder>(builder);
113
- }
114
115
- // Execute startup code from worker extensions if present.
116
- RunExtensionStartupCode(builder);
+ // Execute startup code from worker extensions if present
+ // Only run this once when builder is first added.
+ RunExtensionStartupCode(builder);
117
+ }
118
119
return builder;
120
}
0 commit comments