eclipse-symphony / symphony

Symphony project
MIT License
39 stars 29 forks source link

Add cancel token for reconcile #541

Open linyguo opened 4 weeks ago

linyguo commented 4 weeks ago

Fix #498

Add cancelation mechanism for reconcile:

Add a timeout limit (60min or other values) for reconcile. If the time limit reaches, the context will be canceled and reconcile will be canceled. Add a tracking mechanism for ongoing jobs. If a delete job is queued, it will check all previous ongoing jobs and cancel them. Add an interface to call cancel from client request TODO Working on tests Add cancel token for providers