Skip to content

Commit

Permalink
压测程序线程数改为12
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagewang committed May 18, 2013
1 parent b2959d8 commit 9ddb1e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ private static Message buildMessage(final int messageSize) {


public static void main(String[] args) throws MQClientException {
final int threadCount = args.length >= 1 ? Integer.parseInt(args[0]) : 4;
final int threadCount = args.length >= 1 ? Integer.parseInt(args[0]) : 32;
final int messageSize = args.length >= 2 ? Integer.parseInt(args[1]) : 1024 * 2;

final Message msg = buildMessage(messageSize);
Expand Down

0 comments on commit 9ddb1e0

Please sign in to comment.