refakotorálás előtti állapot
This commit is contained in:
2
backend/app/workers/vehicle/vehicle_robot_2_researcher.py
Executable file → Normal file
2
backend/app/workers/vehicle/vehicle_robot_2_researcher.py
Executable file → Normal file
@@ -159,7 +159,7 @@ class VehicleResearcher:
|
||||
SET status = 'research_in_progress'
|
||||
WHERE id = (
|
||||
SELECT id FROM data.vehicle_model_definitions
|
||||
WHERE status IN ('unverified', 'awaiting_research')
|
||||
WHERE status IN ('unverified', 'awaiting_research', 'ACTIVE')
|
||||
AND attempts < :max_attempts
|
||||
ORDER BY
|
||||
CASE WHEN make = 'TOYOTA' THEN 1 ELSE 2 END,
|
||||
|
||||
Reference in New Issue
Block a user