Skip to content

Commit

Permalink
Set default compaction time to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jan 23, 2012
1 parent 31fd070 commit 7c36103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/jgroups/protocols/pbcast/NAKACK2.java
Expand Up @@ -112,7 +112,7 @@ public class NAKACK2 extends Protocol implements DiagnosticsHandler.ProbeHandler

@Property(description="Number of milliseconds after which the matrix in the retransmission table " +
"is compacted (only for experts)",writable=false)
long xmit_table_max_compaction_time=30000;
long xmit_table_max_compaction_time=10000;

/* -------------------------------------------------- JMX ---------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion src/org/jgroups/util/Table.java
Expand Up @@ -57,7 +57,7 @@ public class Table<T> {

protected final AtomicBoolean processing=new AtomicBoolean(false);

protected static final long DEFAULT_MAX_COMPACTION_TIME=30000;
protected static final long DEFAULT_MAX_COMPACTION_TIME=10000;

protected static final double DEFAULT_RESIZE_FACTOR=1.2;

Expand Down

0 comments on commit 7c36103

Please sign in to comment.