You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix v4 benchmarks
This commit is contained in:
@@ -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();
|
||||
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user