Skip to content

Commit

Permalink
This should fix it the failed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Callesen committed Sep 26, 2024
1 parent 3806b53 commit 2c90a09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/LuaScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ public static function updateMetrics()
end
redis.call('hmset', KEYS[1], 'throughput', throughput, 'runtime', runtime)
return {throughput, runtime}
LUA;
}

Expand Down Expand Up @@ -74,7 +72,7 @@ public static function purge()
end
end
return {count, start + batch_size}
return count
LUA;
}
}

0 comments on commit 2c90a09

Please sign in to comment.