Skip to content

Commit

Permalink
fix: increase http request timeout and mitigate repeated sending of d…
Browse files Browse the repository at this point in the history
…ata in poor network (#58)
  • Loading branch information
zhu-xiaowei authored Jan 26, 2024
1 parent 2d342b9 commit 2d5194b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
public final class NetRequest {

private static final Log LOG = LogFactory.getLog(NetRequest.class);
private static final long HTTP_CONNECT_TIME_OUT = 3;
private static final long HTTP_READ_TIME_OUT = 3;
private static final long HTTP_WRITE_TIME_OUT = 3;
private static final long HTTP_CONNECT_TIME_OUT = 10;
private static final long HTTP_READ_TIME_OUT = 10;
private static final long HTTP_WRITE_TIME_OUT = 10;

/**
* Default constructor.
Expand Down

0 comments on commit 2d5194b

Please sign in to comment.