Skip to content
This repository was archived by the owner on May 30, 2025. It is now read-only.

Commit 85a39d8

Browse files
committed
perf: Improved IO config
1 parent 7a3bc4b commit 85a39d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis/io.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# threads, if you have a 8 cores, try to use 6 threads. In order to
2424
# enable I/O threads use the following configuration directive:
2525
#
26-
io-threads 2
26+
io-threads 1
2727

2828
#
2929
# Setting io-threads to 1 will just use the main thread as usual.
@@ -33,7 +33,7 @@ io-threads 2
3333
# protocol parsing using the following configuration directive, by setting
3434
# it to yes:
3535
#
36-
io-threads-do-reads yes
36+
io-threads-do-reads no
3737

3838
#
3939
# Usually threading reads doesn't help much.

0 commit comments

Comments
 (0)