No description
Find a file
Viktor Barzin ceb943f198 Fix refresh listings returning immediate success with no progress
The get_ids_to_process function was using set union instead of set
difference, causing it to return all existing listing IDs along with
new ones. This meant:

1. When there were no new listings, the task would iterate through all
   existing listings, find nothing to process for each, and complete
   almost instantly

2. The task showed no progress because processing was too fast

Fixed by:
- Changed `all_listing_ids.union(identifiers)` to `identifiers - all_listing_ids`
  to only return IDs that are NOT already in the database
- Added explicit check for empty set with informative task state
  "No new listings found" so users understand why the task completed quickly
2026-02-01 22:30:37 +00:00
.github/workflows adding ruff auto check for pull requests as well as fixing all ruff errors (#1) 2025-09-14 19:40:18 +01:00
crawler Fix refresh listings returning immediate success with no progress 2026-02-01 22:30:37 +00:00
immoweb reduce size of json by pulling interesting fields above instead of relying on the entire thing 2025-06-09 21:46:33 +00:00
vqa adding ruff auto check for pull requests as well as fixing all ruff errors (#1) 2025-09-14 19:40:18 +01:00
.drone.yml update drone.yaml to build on push 2026-02-01 21:53:18 +00:00
.gitignore ignore all of data dir 2025-06-16 22:45:07 +00:00