Skip to content

Commit

Permalink
update1
Browse files Browse the repository at this point in the history
  • Loading branch information
shuaihehe committed Dec 7, 2023
1 parent 84de2b8 commit 1753b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curvefs/src/client/kvclient/kvclient_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ void KVClientManager::Uninit() {
}

void KVClientManager::Set(std::shared_ptr<SetKVCacheTask> task) {
kvClientManagerMetric_->setQueueSize << 1;
threadPool_.Enqueue([task, this]() {
kvClientManagerMetric_->setQueueSize << 1;
threadPool_.Enqueue([task, this]() {
std::string error_log;
task->res =
client_->Set(task->key, task->value, task->length, &error_log);
Expand Down

0 comments on commit 1753b67

Please sign in to comment.