Skip to content

Commit 145802c

Browse files
zubairovjhorbulyk
authored andcommitted
Increased timeout to 10 seconds
1 parent bed6c40 commit 145802c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/actions/write.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ function init() {
2121

2222
signedUrl = yield client.resources.storage.createSignedUrl();
2323

24-
console.log(signedUrl);
25-
2624
let putUrl = signedUrl.put_url;
2725
console.log('CSV file to be uploaded file to uri=%s', putUrl);
2826

@@ -51,16 +49,15 @@ function processAction(msg) {
5149
"content-type": "text/csv",
5250
url: signedUrl.get_url
5351
};
54-
console.log('%j', messageToEmit);
5552
signedUrl = null;
5653
rowCount = 0;
5754

58-
console.log('Emitting message');
55+
console.log('Emitting message %j', messageToEmit);
5956
self.emit('data', messageToEmit);
6057

6158
yield init();
6259
});
63-
}, 5000);
60+
}, 10000);
6461

6562
console.log('Writing to stream', msg.body);
6663

0 commit comments

Comments
 (0)