OdyseeTeam / odysee-api

API server for Odysee
https://odysee.com
MIT License
228 stars 49 forks source link

app/publish: use in-memory locker on tus handler #391

Closed rnd closed 2 years ago

rnd commented 2 years ago

This is to protect read-write on tus file info against concurrrent access. While at it add tus file id when renaming the file on notify method to make sure the file is unique even for the same user