From 07b365b7d780d7ec82f53a268372eb82765fb755 Mon Sep 17 00:00:00 2001
From: Oran Agra <oran@redislabs.com>
Date: Sun, 1 Dec 2019 14:57:18 +0200
Subject: [PATCH] revert an accidental test code change done as part of the tls
 project

it seems that commit b087dd1db60ed23d9e59304deb0b1599437f6e23 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
---
 tests/helpers/gen_write_load.tcl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/helpers/gen_write_load.tcl b/tests/helpers/gen_write_load.tcl
index fd6aad40c..cbf6651bd 100644
--- a/tests/helpers/gen_write_load.tcl
+++ b/tests/helpers/gen_write_load.tcl
@@ -4,7 +4,7 @@ set ::tlsdir "tests/tls"
 
 proc gen_write_load {host port seconds tls} {
     set start_time [clock seconds]
-    set r [redis $host $port 0 $tls]
+    set r [redis $host $port 1 $tls]
     $r select 9
     while 1 {
         $r set [expr rand()] [expr rand()]