Skip to content

Commit 2cd144c

Browse files
zubairovjhorbulyk
authored andcommitted
Now emitting end, decreased timeout to 5 seconds
1 parent 145802c commit 2cd144c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/actions/write.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@ function processAction(msg) {
5757

5858
yield init();
5959
});
60-
}, 10000);
60+
}, 5000);
6161

6262
console.log('Writing to stream', msg.body);
6363

6464
stringifier.write(msg.body);
6565
rowCount++;
66+
this.emit('end');
6667
}
6768

6869
/**

0 commit comments

Comments
 (0)