Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Features

- Increase http timeouts from 5s to 30s to have a better chance of events being delivered without retry ([#4276](https://github.com/getsentry/sentry-java/pull/4276))

### Fixes

- Do not override user-defined `SentryOptions` ([#4262](https://github.com/getsentry/sentry-java/pull/4262))
Expand Down
4 changes: 2 additions & 2 deletions sentry/src/main/java/io/sentry/SentryOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ public class SentryOptions {
private @NotNull ISentryExecutorService executorService = NoOpSentryExecutorService.getInstance();

/** connection timeout in milliseconds. */
private int connectionTimeoutMillis = 5000;
private int connectionTimeoutMillis = 30_000;

/** read timeout in milliseconds */
private int readTimeoutMillis = 5000;
private int readTimeoutMillis = 30_000;

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