Skip to content

Commit

Permalink
README updated with flags for enabling watch
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitbbhayani committed Oct 21, 2024
1 parent 0e0e904 commit efc20a7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@ to it using DiceDB CLI and SDKs, or even Redis CLIs and SDKs.
### Multi-Threading Mode (Experimental)

Multi-threading is currently under active development. To run the server with multi-threading enabled, follow these steps:

```bash
git clone https://github.com/dicedb/dice
cd dice
go run main.go --enable-multithreading=true
go run main.go --enable-multithreading --enable-watch
```

**Note:** Only the following commands are optimized for multithreaded execution: `PING, AUTH, SET, GET, GETSET, ABORT`
Expand All @@ -69,9 +70,11 @@ 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
go run main.go --enable-multithreading --enable-watch
```

You can skip passing the two flags if you are not working with multi-threading or `.WATCH` features.

1. Install GoLangCI

```bash
Expand Down

0 comments on commit efc20a7

Please sign in to comment.