This update introduces a job queue and status tracking mechanism for segmentation tasks. The key enhancements include:
Job Queue: Segmentation tasks are now managed in a queue, ensuring orderly processing.
Status Tracking: The status of each task (e.g., "queued," "processing," "completed," "failed") is tracked and updated throughout its lifecycle.
Status Updates
The statuses of segmentation tasks are published to the MQTT topic status/segmenter.
Detailed status information for each job is available via MQTT topics in the format status/segmenter/{job_id}, where {job_id} is the unique identifier of the job.
Testing
These changes should be tested on the PlanktoScope to ensure that status updates are correctly published and received, and that the system behaves as expected under various conditions.
This update introduces a job queue and status tracking mechanism for segmentation tasks. The key enhancements include:
Status Updates
status/segmenter
.status/segmenter/{job_id}
, where{job_id}
is the unique identifier of the job.Testing
These changes should be tested on the PlanktoScope to ensure that status updates are correctly published and received, and that the system behaves as expected under various conditions.