From edd0b67fc0ca8d242ea08b82fe49e9afef342d6f Mon Sep 17 00:00:00 2001 From: Rahul Mallick Date: Sun, 1 Dec 2024 18:36:37 +0530 Subject: [PATCH 1/2] Remove --enable-multithreading flag usage in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c3845f361..2335c52bb 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Although DiceDB is a drop-in replacement of Redis, which means almost no learnin The easiest way to get started with DiceDB is using [Docker](https://www.docker.com/) by running the following command. ```bash -docker run -p 7379:7379 dicedb/dicedb --enable-multithreading --enable-watch +docker run -p 7379:7379 dicedb/dicedb --enable-watch ``` The above command will start the DiceDB server running locally on the port `7379` and you can connect @@ -60,10 +60,10 @@ To run DiceDB for local development or running from source, you will need ```bash git clone https://github.com/dicedb/dice cd dice -go run main.go --enable-multithreading --enable-watch +go run main.go --enable-watch ``` -You can skip passing the two flags if you are not working with multi-threading or `.WATCH` features. +You can skip passing the flag if you are not working with `.WATCH` feature. 1. Install GoLangCI From 2f65604740e37c7b71b435b02566bd77157e08eb Mon Sep 17 00:00:00 2001 From: Rahul Mallick Date: Tue, 3 Dec 2024 19:41:02 +0530 Subject: [PATCH 2/2] Remove --enable-multithreading flag usage in docs --- docs/src/content/docs/get-started/installation.mdx | 2 +- docs/src/content/docs/get-started/reactive-hello-world.mdx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/content/docs/get-started/installation.mdx b/docs/src/content/docs/get-started/installation.mdx index 75f9622b2..8ba500b4e 100644 --- a/docs/src/content/docs/get-started/installation.mdx +++ b/docs/src/content/docs/get-started/installation.mdx @@ -16,7 +16,7 @@ We are looking for Early Design Partners, so, if you want to evaluate DiceDB, [b The easiest way to get started with DiceDB is using [Docker](https://www.docker.com/) by running the following command. ```bash -docker run -p 7379:7379 dicedb/dicedb --enable-multithreading --enable-watch +docker run -p 7379:7379 dicedb/dicedb --enable-watch ``` The above command will start the DiceDB server running locally on the port `7379` and you can connect diff --git a/docs/src/content/docs/get-started/reactive-hello-world.mdx b/docs/src/content/docs/get-started/reactive-hello-world.mdx index 744c56866..badd81fed 100644 --- a/docs/src/content/docs/get-started/reactive-hello-world.mdx +++ b/docs/src/content/docs/get-started/reactive-hello-world.mdx @@ -15,12 +15,12 @@ But, before we start, make sure you have ### Starting DiceDB -Start the DiceDB server with the two flags `--enable-multithreading` and `--enable-watch` -to enable multi-threading and watch mode, respectively. Your command would look something +Start the DiceDB server with the flag `--enable-watch` +to enable watch mode. Your command would look something like this ```bash -docker run -p 7379:7379 dicedb/dicedb --enable-multithreading --enable-watch +docker run -p 7379:7379 dicedb/dicedb --enable-watch ``` Also, connect to the database using the CLI as mentioned in the above installation steps or