作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试使用 minConnsPerNode 设置,但它似乎不起作用。
我已经在存储库中打开了一个问题,但一个月后我仍然没有得到答复。 ( Issue )
const Aerospike = require('aerospike')
const config = {
hosts: '127.0.0.1:3000',
minConnsPerNode: 1, // works if minConnsPerNode is removed
}
const run = async () => {
Aerospike.setDefaultLogging({ level: Aerospike.log.DEBUG, file: process.stderr.fd })
const client = await Aerospike.connect(config);
const puts = Array.from({ length: 5 }, (_, i) => client.put(new Aerospike.Key('ssd-store', 'test', i), { i }))
await Promise.all(puts)
client.close()
}
run()
更多细节可以在issue中找到
最佳答案
这已在 aerospike@3.16.6 中修复。更多详细信息,请参阅 issue
关于node.js - Aerospike NodeJS 客户端 - "minConnsPerNode"选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68221992/
我正在尝试使用 minConnsPerNode 设置,但它似乎不起作用。 我已经在存储库中打开了一个问题,但一个月后我仍然没有得到答复。 ( Issue ) const Aerospike = r
我是一名优秀的程序员,十分优秀!