Skip to content

Commit

Permalink
Update Redis config options in readme (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlyoshaVasilieva authored Jul 1, 2024
1 parent 1dd8d3b commit d8c7285
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,30 +316,19 @@ redis-url.com {
}
```

You can also use the configuration. Refer to the [rueidis client options](https://github.com/redis/rueidis/blob/main/rueidis.go#L56) to define your config as key value.
You can also use the configuration. Refer to the [Souin docs](https://docs.souin.io/docs/storages/redis/)
or [rueidis client options](https://github.com/redis/rueidis/blob/main/rueidis.go#L56) to define your config as key value.
```
redis-configuration.com {
cache {
redis {
configuration {
Network my-network
Addr 127.0.0.1:6379
InitAddress 127.0.0.1:6379
Username user
Password password
DB 1
MaxRetries 1
MinRetryBackoff 5s
MaxRetryBackoff 5s
DialTimeout 5s
ReadTimeout 5s
WriteTimeout 5s
PoolFIFO true
PoolSize 99999
PoolTimeout 10s
MinIdleConns 100
MaxIdleConns 100
ConnMaxIdleTime 5s
ConnMaxLifetime 5s
SelectDB 1
ConnWriteTimeout 5s
BlockingPoolSize 99999
}
}
}
Expand Down

0 comments on commit d8c7285

Please sign in to comment.