Skip to content

Commit

Permalink
FIX: Fix memcached-tool script file
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesecrust committed Nov 12, 2024
1 parent 1dd99aa commit 6f5f9ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/memcached-tool
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ if ($mode eq 'dump') {
while (<$sock>) {
last if /^END/;
# return format looks like this
# ITEM foo [6 b; 1176415152 s]
if (/^ITEM (\S+) \[.* (\d+) s\]/) {
# ITEM foo [acctime=22, exptime=0]
if (/^ITEM (\S+) \[.*?exptime=(\d+)\]/) {
$keyexp{$1} = $2;
}
}
Expand Down

0 comments on commit 6f5f9ad

Please sign in to comment.