Commit 07b365b7 authored by Oran Agra's avatar Oran Agra
Browse files

revert an accidental test code change done as part of the tls project

it seems that commit b087dd1d accidentially changed
gen_write_load to not use deferred client, which causes them to be slower and not
generate high load which they should, making some tests less effecitive
parent f5d48537
...@@ -4,7 +4,7 @@ set ::tlsdir "tests/tls" ...@@ -4,7 +4,7 @@ set ::tlsdir "tests/tls"
proc gen_write_load {host port seconds tls} { proc gen_write_load {host port seconds tls} {
set start_time [clock seconds] set start_time [clock seconds]
set r [redis $host $port 0 $tls] set r [redis $host $port 1 $tls]
$r select 9 $r select 9
while 1 { while 1 {
$r set [expr rand()] [expr rand()] $r set [expr rand()] [expr rand()]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment