Skip to content

Commit

Permalink
feat(valkey): update protected mode patch for 8.0.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
f-bn authored Sep 23, 2024
1 parent 79beb3b commit 4fbf5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions valkey/patches/0000-disable-protected-mode.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
diff --git a/src/config.c b/src/config.c
index 5b4bdedf0..96d966dc8 100644
index 2d4e703d9..6f0b1ca5d 100644
--- a/src/config.c
+++ b/src/config.c
@@ -3052,7 +3052,7 @@ standardConfig static_configs[] = {
@@ -3060,7 +3060,7 @@ standardConfig static_configs[] = {
createBoolConfig("daemonize", NULL, IMMUTABLE_CONFIG, server.daemonize, 0, NULL, NULL),
createBoolConfig("io-threads-do-reads", NULL, DEBUG_CONFIG | IMMUTABLE_CONFIG, server.io_threads_do_reads, 0,NULL, NULL), /* Read + parse from threads? */
createBoolConfig("io-threads-do-reads", NULL, DEBUG_CONFIG | IMMUTABLE_CONFIG, server.io_threads_do_reads, 1, NULL, NULL), /* Read + parse from threads */
createBoolConfig("always-show-logo", NULL, IMMUTABLE_CONFIG, server.always_show_logo, 0, NULL, NULL),
- createBoolConfig("protected-mode", NULL, MODIFIABLE_CONFIG, server.protected_mode, 1, NULL, NULL),
+ createBoolConfig("protected-mode", NULL, MODIFIABLE_CONFIG, server.protected_mode, 0, NULL, NULL),
Expand Down

0 comments on commit 4fbf5fb

Please sign in to comment.