This commit is contained in:
Justin Bertram 2020-01-09 15:21:29 -06:00
commit d8d35a13b5
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ public final class ReplicationManager implements ActiveMQComponent {
private void flushReplicationStream(FlushAction action) throws Exception {
action.reset();
replicationStream.execute(action);
if (!action.await(this.timeout, TimeUnit.MILLISECONDS)) {
if (!action.await(this.initialReplicationSyncTimeout, TimeUnit.MILLISECONDS)) {
throw ActiveMQMessageBundle.BUNDLE.replicationSynchronizationTimeout(initialReplicationSyncTimeout);
}
}