Skip to content

Commit

Permalink
Set conn_close_timeout to 4 minutes (same as TIME_WAIT state in TCP)
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Feb 20, 2017
1 parent 5dead63 commit 5784a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jgroups/protocols/UNICAST3.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class UNICAST3 extends Protocol implements AgeOutCache.Handler<Address> {
protected long conn_expiry_timeout=(long) 60000 * 2;

@Property(description="Time (in ms) until a connection marked to be closed will get removed. 0 disables this")
protected long conn_close_timeout=10000;
protected long conn_close_timeout=240_000; // 4 mins == TIME_WAIT timeout (= 2 * MSL)

@Property(description="Number of rows of the matrix in the retransmission table (only for experts)",writable=false)
protected int xmit_table_num_rows=100;
Expand Down

0 comments on commit 5784a9c

Please sign in to comment.