mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 08:50:40 +00:00
chore: shrink keep lease handler buffer
This commit is contained in:
@@ -29,7 +29,7 @@ pub struct KeepLeaseHandler {
|
||||
|
||||
impl KeepLeaseHandler {
|
||||
pub fn new(kv_store: KvStoreRef) -> Self {
|
||||
let (tx, mut rx) = mpsc::channel(1024);
|
||||
let (tx, mut rx) = mpsc::channel(128);
|
||||
common_runtime::spawn_bg(async move {
|
||||
while let Some(kv) = rx.recv().await {
|
||||
let mut kvs = vec![kv];
|
||||
|
||||
Reference in New Issue
Block a user