training_extensions
training_extensions copied to clipboard
Data collection config update doesn't take effect
Steps to reproduce
- Update the data collection configuration of a Geti Tune pipeline, for example with
curl -s -X PATCH localhost:7860/api/projects/9d6af8e8-6017-4ebe-9126-33aae739c5fa/pipeline -H "Content-Type: application/json" --data '{"data_collection_policies": [{"type": "fixed_rate", "enabled": true, "rate": 0.2}]}' | jq - Monitor the collected dataset
Expected
The configuration is reloaded dynamically, so the changes take immediate effect
Actual
The changes take no effect until the application is restarted.
Fixed in scope of #4797. There was a problem with singleton implementation.