Enhance house creation logging in HouseWorker: Add detailed logging for the number of new buyable houses created and errors encountered during the process. Update SQL query to increase the randomness threshold for house selection, improving the variety of houses retrieved.
This commit is contained in:
@@ -458,7 +458,7 @@ pub const QUERY_GET_NEW_HOUSE_DATA: &str = r#"
|
||||
FROM
|
||||
falukant_type.house AS h
|
||||
WHERE
|
||||
random() < 0.0001
|
||||
random() < 0.01
|
||||
AND label_tr <> 'under_bridge';
|
||||
"#;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user