webknossos
webknossos copied to clipboard
Some jobs can be submitted for datastores without workers
I saw two instances of forever-pending export-tiff jobs that were somehow submitted for datasets that are on datastores with no associated workers. This should not be offered in the front-end nor should it be accepted by the backend.
Implement assertDatastoreHasWorker. Test with
yarn enable-jobs
yarn disable-jobs