Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Söderqvist <[email protected]>
Signed-off-by: naglera <[email protected]>
  • Loading branch information
naglera and zuiderkwast authored Jul 12, 2024
1 parent 785603d commit 5f1f535
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/helpers/gen_write_load.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ source tests/support/valkey.tcl

set ::tlsdir "tests/tls"

proc gen_write_load {host port seconds tls key} {
# Continously sends SET commands to the node. If key is omitted, a random key is
# used for every SET command. The value is always random.
proc gen_write_load {host port seconds tls {key ""}} {
set start_time [clock seconds]
set r [valkey $host $port 1 $tls]
$r client setname LOAD_HANDLER
Expand Down

0 comments on commit 5f1f535

Please sign in to comment.