Skip to content

Commit d0dc544

Browse files
committed
Increase http timeouts from 5s to 30s
1 parent d07899f commit d0dc544

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry/src/main/java/io/sentry/SentryOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ public class SentryOptions {
291291
private @NotNull ISentryExecutorService executorService = NoOpSentryExecutorService.getInstance();
292292

293293
/** connection timeout in milliseconds. */
294-
private int connectionTimeoutMillis = 5000;
294+
private int connectionTimeoutMillis = 30_000;
295295

296296
/** read timeout in milliseconds */
297-
private int readTimeoutMillis = 5000;
297+
private int readTimeoutMillis = 30_000;
298298

299299
/** Reads and caches envelope files in the disk */
300300
private @NotNull IEnvelopeCache envelopeDiskCache = NoOpEnvelopeCache.getInstance();

0 commit comments

Comments
 (0)