How to use the aerospike.releaseEventLoop function in aerospike

To help you get started, we’ve selected a few aerospike examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github aerospike-edu / student-workbook / AS101 / NodeJS / Aggregations / app.js View on Github external
process.on('exit', function() {
  if (client != null) {
    client.close();
    console.log("Connection to Aerospike cluster closed!");
    aerospike.releaseEventLoop();
    console.log("Event loop released.");
  }
});
github aerospike-edu / student-workbook / AS101 / NodeJS / solution / app.js View on Github external
process.on('exit', function() {
  if (client != null) {
    client.close();
    console.log("Connection to Aerospike cluster closed!");
    aerospike.releaseEventLoop();
    console.log("Event loop released.");
  }
});