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:
@@ -290,7 +290,7 @@ const QUERY_GET_PREGNANCY_CANDIDATES: &str = r#"
|
||||
+ (CURRENT_DATE - c2.birthdate::date)) / 2
|
||||
) - 2.638267
|
||||
))
|
||||
) / 2;
|
||||
);
|
||||
"#;
|
||||
|
||||
const QUERY_INSERT_CHILD: &str = r#"
|
||||
|
||||
Reference in New Issue
Block a user