mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 23:49:38 +00:00
reject progress below thresh, handle progress clean up from bulk update, #1009
This commit is contained in:
@@ -227,7 +227,8 @@ class VideoProgressView(ApiBaseView):
|
||||
expire = False
|
||||
|
||||
current_progress.update({"watched": watched})
|
||||
redis_con.set_message(key, current_progress, expire=expire)
|
||||
if position > 5:
|
||||
redis_con.set_message(key, current_progress, expire=expire)
|
||||
|
||||
response_serializer = PlayerSerializer(current_progress)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user