ebu / OSCIED

Open Source Cloud Infrastructure for Encoding and Distribution
Other
16 stars 2 forks source link

Orchestra -> Publisher : Handle blazing fast publisher (revoke tasks) #137

Open davidfischer-ch opened 10 years ago

davidfischer-ch commented 10 years ago

Sometimes the publication worker that receive the revokation task is so fast that it calls the orchestrator back before the internal state of the api core is updated.

A simple but not robust trick is to add a time.sleep() to the revoke method of the publication worker however it would be better to do as following, in the revoke method of the api:

No aliasing is possible.