elsa-core/src
Sipke Schoorstra 480b726c9d
Refactor service dependencies in BackgroundTaskDispatcher and LocalBackgroundActivityScheduler (#4753)
Removed explicit dependency resolution from the constructors of BackgroundTaskDispatcher and LocalBackgroundActivityScheduler classes, and used IServiceScopeFactory to resolve dependencies inside methods instead. Updated their lifetimes from Scoped to Singleton in the DI container in WorkflowRuntimeFeature. The DI container now manages the lifetime scope of these services, promoting better separation of responsibilities and improved testability.
2024-01-05 12:13:44 +01:00
..
bundles Remove unused namespaces and pipelines project 2024-01-04 22:10:12 +01:00
clients/Elsa.Api.Client Refactor Elsa API client to use API key authentication 2023-12-29 19:23:11 +01:00
common Merge scope change into main (#4738) 2024-01-02 14:52:53 +01:00
modules Refactor service dependencies in BackgroundTaskDispatcher and LocalBackgroundActivityScheduler (#4753) 2024-01-05 12:13:44 +01:00
samples Merge scope change into main (#4738) 2024-01-02 14:52:53 +01:00