This website requires JavaScript.
Explore
Help
Register
Sign In
torsten
/
yourpart-daemon
Watch
1
Star
0
Fork
0
You've already forked yourpart-daemon
Code
Issues
Pull Requests
1
Actions
Packages
Projects
Releases
Wiki
Activity
Files
5a3a818d848b8944179be60e0a72e7fac97a7902
yourpart-daemon
/
src
/
worker
History
Torsten Schulz (local)
5a3a818d84
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.
2025-12-08 11:17:16 +01:00
..
base.rs
Refactor money update execution in BaseWorker: Simplified the SQL execution by directly constructing the update query without parameterized placeholders, addressing serialization issues. Updated comments for clarity on the handling of money values and ensured compatibility with trusted data sources. Additionally, modified the casting of money in the director query to text for consistent mapping in Rust.
2025-12-01 11:31:37 +01:00
character_creation.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
director.rs
Refactor transport planning in DirectorWorker: Updated variable naming for clarity by changing 'shipped' to '_shipped' to indicate unused variable. Removed unused get_branch_user_id function from TransportWorker to streamline code and improve maintainability.
2025-12-05 14:20:56 +01:00
events.rs
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.
2025-12-08 11:17:16 +01:00
house.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
mod.rs
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.
2025-12-08 11:17:16 +01:00
politics.rs
Add functionality to identify elections needing candidates: Introduced a new SQL query to select elections without candidates, including both newly registered and manually created elections. Updated the PoliticsWorker to schedule elections and insert candidates accordingly, ensuring all relevant elections are processed.
2025-11-26 17:02:36 +01:00
produce.rs
Enhance production management by adding region_id to ProductionPlan and updating SQL queries: Introduced region_id to the ProductionPlan struct and modified the insert production query to include weather_type_id based on region. Updated finished productions query to account for weather effects on quality ratings, ensuring accurate production assessments. Improved comments for clarity on the impact of weather on production quality.
2025-12-02 09:57:31 +01:00
simple.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
stockage_manager.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
transport.rs
Refactor transport planning in DirectorWorker: Updated variable naming for clarity by changing 'shipped' to '_shipped' to indicate unused variable. Removed unused get_branch_user_id function from TransportWorker to streamline code and improve maintainability.
2025-12-05 14:20:56 +01:00
underground.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
user_character.rs
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.
2025-12-08 11:17:16 +01:00
value_recalculation.rs
Refactor hourly price recalculation logic: Implemented a two-tier pricing adjustment system based on sales data, comparing city sales against global and parent-region averages. Updated SQL queries to reflect new pricing rules, ensuring dynamic price adjustments within defined tolerances. Enhanced logging for better tracking of affected regions during recalculation.
2025-12-02 09:29:33 +01:00
weather.rs
Refactor weather update query in WeatherWorker: Simplified the SQL logic for assigning random weather types to regions by removing unnecessary joins and using a subquery for random selection. Enhanced comments for clarity on the individual weather assignment process for each region.
2025-12-05 13:36:55 +01:00