OdyseeTeam / odysee-frontend

The code that runs odysee.com
https://odysee.com
MIT License
210 stars 65 forks source link

Add some buffer for scheduled content search release_time #3060

Closed keikari closed 6 months ago

keikari commented 6 months ago

Fixes

Scheduled stream disappears ~5mins before its release time. This is due to hub not being perfectly accurate when filtering by release_time.

Note: There was existing buffer of 35mins, but it didn't get used at all(other param for release_time override it). Changed buffer time to 5min and used it.

But couldn't tell why it was like that. (EDIT: Guess the buffer can cause scheduled content to hang around in the upcoming-section for bit after the release)

tzarebczan commented 6 months ago

Thank you!