Skip to content

Commit

Permalink
up default # of retries, as circleci now slower than normal!
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshnsears committed Jan 23, 2019
1 parent 6c88dcb commit e16925e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/xqa/IngestBalancer.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private void setConfigurationValues(final Options options, final CommandLine com
messageBrokerPort = Integer.parseInt(commandLine.getOptionValue("message_broker_port", "5672"));
messageBrokerUsername = commandLine.getOptionValue("message_broker_username", "admin");
messageBrokerPassword = commandLine.getOptionValue("message_broker_password", "admin");
messageBrokerRetryAttempts = Integer.parseInt(commandLine.getOptionValue("message_broker_retry", "3"));
messageBrokerRetryAttempts = Integer.parseInt(commandLine.getOptionValue("message_broker_retry", "10"));

destinationIngest = commandLine.getOptionValue("destination_ingest", "xqa.ingest");
destinationEvent = commandLine.getOptionValue("destination_event", "xqa.event");
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/xqa/InserterThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ private synchronized List<Message> getSizeResponses(final MessageBroker shardSiz

private synchronized void placeMessageBackOnOriginatingDestination()
throws JMSException, MessageBroker.MessageBrokerException {
logger.warn("placeMessageBackOnOriginatingDestination");

final Message message =
MessageMaker.createMessage(
inserterThreadMessageBroker.getSession(),
Expand Down
File renamed without changes.

0 comments on commit e16925e

Please sign in to comment.