Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
histhub
linker
Commits
f20ebbc8
Commit
f20ebbc8
authored
Aug 02, 2018
by
Tobias Steiner
Browse files
Add some logs for backpressure
parent
b8f258ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/neo4j-stream-writer.ts
View file @
f20ebbc8
...
...
@@ -36,6 +36,8 @@ class Neo4jStreamWriter extends Writable {
// backpressure will get exerted this way.
// todo: check the error first
// neo4j.error.SERVICE_UNAVAILABLE
core
.
getLogger
().
error
(
e
);
core
.
getLogger
().
error
(
'
from
'
+
chunk
.
parsed
.
from
);
setTimeout
(()
=>
{
this
.
_write
(
chunk
,
encoding
,
callback
);
},
this
.
timeout
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment