Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = exports = function (argv) {
const config = defaultConfig(argv)
Aerospike.setDefaultLogging(config.log)
const client = Aerospike.client(config)
client.captureStackTraces = argv.debugStacktraces
return client
}