Add EventsWorker to worker module: Introduced EventsWorker for handling event-related tasks. Updated main.rs to include EventsWorker in the worker creation process. Adjusted WeatherWorker instantiation to use cloned pool and broker for consistency.

This commit is contained in:
Torsten Schulz (local)
2025-12-08 11:17:16 +01:00
parent 8db82e0ced
commit 5a3a818d84
4 changed files with 1818 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ mod value_recalculation;
mod user_character;
mod transport;
mod weather;
mod events;
pub use base::Worker;
pub use crate::db::ConnectionPool;
@@ -24,4 +25,5 @@ pub use value_recalculation::ValueRecalculationWorker;
pub use user_character::UserCharacterWorker;
pub use transport::TransportWorker;
pub use weather::WeatherWorker;
pub use events::EventsWorker;