Skip to content

Commit ccf0662

Browse files
committedDec 7, 2021
fix v4 benchmarks
1 parent 73f6e6b commit ccf0662

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
 

‎benchmark/lib/ping/v4.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { createClient } from '@node-redis/client';
22

33
export default async (host) => {
4-
const client = createClient({ host });
4+
const client = createClient({
5+
socket: {
6+
host
7+
}
8+
});
59

610
await client.connect();
711

‎benchmark/lib/set-get-delete-string/v4.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { createClient } from '@node-redis/client';
22

33
export default async (host, { randomString }) => {
4-
const client = createClient({ host });
4+
const client = createClient({
5+
socket: {
6+
host
7+
}
8+
});
59

610
await client.connect();
711

0 commit comments

Comments
 (0)
Please sign in to comment.