diff options
| author | Zheng Chao <[email protected]> | 2023-08-24 20:40:19 +0800 |
|---|---|---|
| committer | Zheng Chao <[email protected]> | 2023-08-24 20:40:19 +0800 |
| commit | 9ae4145fa7ee5a59c8920bcf40fa322f6617f577 (patch) | |
| tree | 1e1956195bf98c1d8c22a7171d64d378f82fa3f3 /src | |
| parent | 71a9bdb506ad022493ee7db3e1dada8f6a7a544e (diff) | |
fix crdt timeout check.
Diffstat (limited to 'src')
| -rw-r--r-- | src/swarmkv_store.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swarmkv_store.c b/src/swarmkv_store.c index b10cdd3..055135a 100644 --- a/src/swarmkv_store.c +++ b/src/swarmkv_store.c @@ -487,7 +487,7 @@ static void crdt_generic_on_reply(const struct swarmkv_reply *reply, void *user) long long error_before=ctx->store->sync_err; if(reply->type==SWARMKV_REPLY_ERROR) { - if(strcasestr(reply->str, "timeout")) + if(strcasestr(reply->str, "timed out")) { int tid=__gettid(ctx->store->exec_cmd_handle); atomic_inc(&ctx->store->sync_err); |
