elsa-core/src/modules/Elsa.Workflows.Runtime/Features
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
..
DefaultWorkflowRuntimeFeature.cs Remove WorkflowStateStore (#4374) 2023-08-30 15:42:16 +02:00
WorkflowRuntimeFeature.cs Refactor service dependencies in BackgroundTaskDispatcher and LocalBackgroundActivityScheduler (#4753) 2024-01-05 12:13:44 +01:00