diff --git a/kinguard/comms/detect_language.py b/kinguard/comms/detect_language.py index c5628c6..c9be656 100644 --- a/kinguard/comms/detect_language.py +++ b/kinguard/comms/detect_language.py @@ -58,7 +58,7 @@ } SAMPLE_LIMIT = 240 -TIMEOUT_SECONDS = 8 +TIMEOUT_SECONDS = 10 _CODE = re.compile(r"^[a-z]{2}$") diff --git a/kinguard/comms/translate.py b/kinguard/comms/translate.py index 5f3fe5f..a4b6e7e 100644 --- a/kinguard/comms/translate.py +++ b/kinguard/comms/translate.py @@ -74,7 +74,7 @@ # double-sent — is strictly worse than an English one that arrives instantly. # So the emergency lane gives translation a few seconds of grace and then goes # without it. It will usually go without it, and that is the correct outcome. -URGENT_TIMEOUT_SECONDS = 8 +URGENT_TIMEOUT_SECONDS = 10 # UNHURRIED is for everything with nothing waiting on it: the recovery tick, and # the bill and document replies that already run after the response. Here the