From f6af86c62983596eab906d4c69bc946d582d5ad2 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 12 Oct 2023 18:32:12 +0200 Subject: [PATCH] Increased OpenAI timeout to 45 seconds --- app/src/main/java/eu/faircode/email/OpenAI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/OpenAI.java b/app/src/main/java/eu/faircode/email/OpenAI.java index 399b59d865..f49493dcf4 100644 --- a/app/src/main/java/eu/faircode/email/OpenAI.java +++ b/app/src/main/java/eu/faircode/email/OpenAI.java @@ -44,7 +44,7 @@ import java.util.Objects; public class OpenAI { private static final int MAX_OPENAI_LEN = 1000; // characters - private static final int TIMEOUT = 30; // seconds + private static final int TIMEOUT = 45; // seconds static boolean isAvailable(Context context) { if (TextUtils.isEmpty(BuildConfig.OPENAI_ENDPOINT))