Skip to content

Commit

Permalink
fix naver#487 - bug fix expire time
Browse files Browse the repository at this point in the history
fix expire time to realtime
  • Loading branch information
cheesecrust committed Jul 5, 2024
1 parent 071ce06 commit be89f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -13106,7 +13106,7 @@ static void process_touch_command(conn *c, token_t *tokens, const size_t ntokens
return;
}

attr_data.exptime = exptime;
attr_data.exptime = realtime(exptime);
attr_ids[attr_count++] = ATTR_EXPIRETIME;

if (ret == ENGINE_SUCCESS) {
Expand Down

0 comments on commit be89f63

Please sign in to comment.