Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent connection from closing? #263

Open
Zendor18 opened this issue Apr 7, 2020 · 1 comment
Open

How to prevent connection from closing? #263

Zendor18 opened this issue Apr 7, 2020 · 1 comment

Comments

@Zendor18
Copy link

Zendor18 commented Apr 7, 2020

I'm using your library for load and parse csv files from ftp. But i have trouble with closing connection after some period of time. How i can keep connection all the time, untill readableStream not fully consumed? Or can i auto reconnect somehow? And can i resume stream after reconnect? @mscdex;

@Zendor18 Zendor18 changed the title How to prevent connection close? How to prevent connection from closing? Apr 7, 2020
@cjboco
Copy link

cjboco commented Nov 6, 2020

Have you tried setting the "keepalive" parameter? I set mine to an extremely long time, like 10000. That seemed to solve my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants