(WIP) replace redigo with go-redis

This commit is contained in:
Lawrence, Rendall
2022-04-13 01:12:00 +03:00
parent c9e0af8b1e
commit 1fcddf5102
8 changed files with 359 additions and 484 deletions
+3 -3
View File
@@ -38,13 +38,13 @@ mochi:
redis_broker: "redis://pwd@127.0.0.1:6379/0"
# The timeout for reading a command reply from redis.
redis_read_timeout: 15s
read_timeout: 15s
# The timeout for writing a command to redis.
redis_write_timeout: 15s
write_timeout: 15s
# The timeout for connecting to redis server.
redis_connect_timeout: 15s
connect_timeout: 15s
```
## Implementation