progress delay incrased to % 50

This commit is contained in:
thedragonsinn
2023-11-07 17:30:40 +05:30
parent 3fe87fbbe5
commit 0e68f9a6d8

View File

@@ -57,7 +57,7 @@ async def progress(
if PROGRESS_STR_DICT[file_path].get("resp") != resp_str:
PROGRESS_STR_DICT[file_path]["resp"] = resp_str
PROGRESS_STR_DICT["count"] = PROGRESS_STR_DICT.get("count", 0)
if PROGRESS_STR_DICT["count"] % 10:
if PROGRESS_STR_DICT["count"] % 50:
PROGRESS_STR_DICT["count"] += 1
return
await response.edit(resp_str)