feat(CUB-39): Create background job for filament usage sync #16
Reference in New Issue
Block a user
Delete Branch "agent/dex/CUB-39-filament-usage-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements a background job that periodically polls Moonraker printers for filament usage data and persists updates to the Extrudex database.
Changes
BackgroundServicethat runs on a configurable interval with graceful cancellationappsettings.jsonIMoonrakerClientviaAddHttpClient,IFilamentUsageSyncService, andAddHostedService<FilamentUsageSyncJob>FilamentUsageSyncconfig sectionConfiguration
Validation
dotnet build— PASS (0 errors)Closes CUB-39