Node stays running. How to stop it?

9 views
Skip to first unread message

Rob Nikander

unread,
Apr 27, 2019, 11:33:07 AM4/27/19
to DataStax Node.js Driver for Apache Cassandra Mailing List
When I write a little command line utility that calls `client.execute(...)`, Node doesn't quit after that. I can of course simply kill the process with Control-C, but I'm wondering why it's doing that, and if there is something I can do in code to shut it down cleanly.

Rob

Rob Nikander

unread,
Apr 27, 2019, 5:12:07 PM4/27/19
to DataStax Node.js Driver for Apache Cassandra Mailing List
Nevermind. I just found the client `shutdown` method.
Reply all
Reply to author
Forward
0 new messages