Closed chenruiyingry closed 2 years ago
因为是通过pipeline批量写入的,没有达到提交key的数量的话会每3s写入,这个参数目前没有暴露出来,可以修改下代码里的写入间隔或者每个批次的提交count,重新编译一下就可以了 https://github.com/TraceNature/redissyncer-server/blob/main/syncer-transmission/src/main/java/syncer/transmission/client/impl/JedisPipeLineClient.java
好的,谢谢
因为是通过pipeline批量写入的,没有达到提交key的数量的话会每3s写入,这个参数目前没有暴露出来,可以修改下代码里的写入间隔或者每个批次的提交count,重新编译一下就可以了 https://github.com/TraceNature/redissyncer-server/blob/main/syncer-transmission/src/main/java/syncer/transmission/client/impl/JedisPipeLineClient.java