OdyseeTeam / odysee-api

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

async upload remaining things #443

Closed tzarebczan closed 2 years ago

tzarebczan commented 2 years ago

Random error uploading image, worked on new upload right after. sql: no rows in result set

infinite-persistence commented 2 years ago

sql: no rows in result set

anbsky commented 2 years ago

notify will return upload is still in process sometimes even when tus was completed on the app side

This should be expected — we’re using networked storage and it can be quite some time between final chunk is posted and fully written and processed. A retry procedure would be my preferred approach as we really have no way of estimating the possible delay.

Regarding the no rows error, possibly the same story, a delay between the row is written and is available. I will add more details to the error message.