Skip to content

Commit 20a2980

Browse files
author
Nathan Marz
committed
fix typo
1 parent 27d1b8a commit 20a2980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jvm/backtype/storm/transactional/TransactionalSpoutCoordinator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void open(Map conf, TopologyContext context, SpoutOutputCollector collect
5757
_coordinator = _spout.getCoordinator(conf, context);
5858
_currTransaction = getStoredCurrTransaction(_state);
5959
if(!conf.containsKey(Config.TOPOLOGY_MAX_SPOUT_PENDING)) {
60-
_maxTransactionActive = 0;
60+
_maxTransactionActive = 1;
6161
} else {
6262
_maxTransactionActive = Utils.getInt(conf.get(Config.TOPOLOGY_MAX_SPOUT_PENDING));
6363
}

0 commit comments

Comments
 (0)