mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 00:59:21 +00:00
fix message trunct
This commit is contained in:
@@ -248,7 +248,7 @@ class Reindex(ReindexBase):
|
||||
"""send notification back to task"""
|
||||
remaining = RedisQueue(index_config["queue_name"]).length()
|
||||
idx = total - remaining
|
||||
message = [f"Reindexing {name[0].title()}s {idx}/{total}"]
|
||||
message = [f"Reindexing {name.title()}s {idx}/{total}"]
|
||||
progress = idx / total
|
||||
self.task.send_progress(message, progress=progress)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user