Skip to content

Commit

Permalink
[FAB-2814] Change default batch timeout to 2s
Browse files Browse the repository at this point in the history
https://jira.hyperledger.org/browse/FAB-2814

There have been a number of requests to reduce the default batch timeout
from its current default of 10s to something more appropriate for demos.

This CR changes the default from 10s, to the v0.6 default of 2s.

Change-Id: Id08af41dc3fca2a4e5659f5a0b4c9349adfb5141
Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
  • Loading branch information
Jason Yellick committed Mar 17, 2017
1 parent a71af56 commit 66781c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/configtx/tool/configtx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Orderer: &OrdererDefaults
- 127.0.0.1:7050

# Batch Timeout: The amount of time to wait before creating a batch.
BatchTimeout: 10s
BatchTimeout: 2s

# Batch Size: Controls the number of messages batched into a block.
BatchSize:
Expand Down

0 comments on commit 66781c7

Please sign in to comment.