mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 04:42:39 +02:00
fix: update error messages for task interruptions and refine document upload file size limits in English and Chinese translations
This commit is contained in:
parent
e3faf4cc5e
commit
2470fb70a6
4 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue