diff --git a/benchmark/lib/ping/v4.js b/benchmark/lib/ping/v4.js index 9f122c3da8..fe778bc128 100644 --- a/benchmark/lib/ping/v4.js +++ b/benchmark/lib/ping/v4.js @@ -1,7 +1,11 @@ import { createClient } from '@node-redis/client'; export default async (host) => { - const client = createClient({ host }); + const client = createClient({ + socket: { + host + } + }); await client.connect(); diff --git a/benchmark/lib/set-get-delete-string/v4.js b/benchmark/lib/set-get-delete-string/v4.js index 8a08f63252..f14a69c686 100644 --- a/benchmark/lib/set-get-delete-string/v4.js +++ b/benchmark/lib/set-get-delete-string/v4.js @@ -1,7 +1,11 @@ import { createClient } from '@node-redis/client'; export default async (host, { randomString }) => { - const client = createClient({ host }); + const client = createClient({ + socket: { + host + } + }); await client.connect();