Add TransportWorker and enhance logging: Introduced TransportWorker to the worker module and improved shutdown logging in the daemon for better visibility during system termination. Updated watchdog thread sleep mechanism for quicker shutdown response and refined error handling in DbError conversion to include SQLSTATE as a string.

This commit is contained in:
Torsten Schulz (local)
2025-11-26 16:03:27 +01:00
parent 25f2eb150d
commit 8ee0bbf3cd
5 changed files with 499 additions and 6 deletions

View File

@@ -8,6 +8,7 @@ mod politics;
mod underground;
mod value_recalculation;
mod user_character;
mod transport;
pub use base::Worker;
pub use crate::db::ConnectionPool;
@@ -20,4 +21,5 @@ pub use politics::PoliticsWorker;
pub use underground::UndergroundWorker;
pub use value_recalculation::ValueRecalculationWorker;
pub use user_character::UserCharacterWorker;
pub use transport::TransportWorker;