fix: update error messages for task interruptions and refine document upload file size limits in English and Chinese translations

This commit is contained in:
Anish Sarkar 2026-02-06 18:13:11 +05:30
parent e3faf4cc5e
commit 2470fb70a6
4 changed files with 5 additions and 6 deletions

View file

@ -46,10 +46,9 @@ _redis_client: redis.Redis | None = None
# Error messages shown to users when tasks are interrupted
STALE_SYNC_ERROR_MESSAGE = "Sync was interrupted unexpectedly. Please retry."
STALE_PROCESSING_ERROR_MESSAGE = (
"Processing was interrupted unexpectedly. Please retry."
"Syncing was interrupted unexpectedly. Please retry."
)
def get_redis_client() -> redis.Redis:
"""Get or create Redis client for heartbeat checking."""
global _redis_client