We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45aebfe commit 5b071c0Copy full SHA for 5b071c0
storm-core/src/jvm/backtype/storm/task/ShellBolt.java
@@ -73,7 +73,7 @@ public ShellBolt(String... command) {
73
public void prepare(Map stormConf, TopologyContext context,
74
final OutputCollector collector) {
75
Object maxPending = stormConf.get(Config.TOPOLOGY_SHELLBOLT_MAX_PENDING);
76
- if (maxPending != null && maxPending instanceof Number) {
+ if (maxPending != null) {
77
this._pendingWrites = new LinkedBlockingQueue(((Number)maxPending).intValue());
78
}
79
_rand = new Random();
0 commit comments