Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

full support defaults of go.avito.ru/gl/redis #19

Closed
kamilsk opened this issue Jun 26, 2019 · 1 comment
Closed

full support defaults of go.avito.ru/gl/redis #19

kamilsk opened this issue Jun 26, 2019 · 1 comment
Assignees
Milestone

Comments

@kamilsk
Copy link
Owner

kamilsk commented Jun 26, 2019

"REDIS_HOST"
"REDIS_PORT"
"REDIS_DATABASE"
"REDIS_MAX_ACTIVE"
"REDIS_MAX_IDLE"
"REDIS_CONNECT_TIMEOUT"
"REDIS_IDLE_TIMEOUT"
"REDIS_READ_TIMEOUT"
"REDIS_WRITE_TIMEOUT"

"REDIS_SHARDED_HOST"
"REDIS_SHARDED_PORT"
"REDIS_SHARDED_MAX_ACTIVE"
"REDIS_SHARDED_MAX_IDLE"
"REDIS_SHARDED_CONNECT_TIMEOUT"
"REDIS_SHARDED_IDLE_TIMEOUT"
"REDIS_SHARDED_READ_TIMEOUT"
"REDIS_SHARDED_WRITE_TIMEOUT"
type Options struct {
	network        string
	host           string
	port           int
	db             int
	maxActive      int
	maxIdle        int
	connectTimeout time.Duration
	idleTimeout    time.Duration
	readTimeout    time.Duration
	writeTimeout   time.Duration
}

var defaultOptions = Options{
	network:        "tcp",
	db:             -1,
	connectTimeout: defaultConnectionTimeout,
	port:           6379,
}
@kamilsk kamilsk self-assigned this Jun 26, 2019
@kamilsk kamilsk added this to To do in Minimum viable product via automation Jun 26, 2019
@kamilsk kamilsk added this to the lift 1.0 milestone Jun 26, 2019
@kamilsk
Copy link
Owner Author

kamilsk commented Sep 5, 2020

won't do cause the main target of the tool is changed

@kamilsk kamilsk closed this as completed Sep 5, 2020
Minimum viable product automation moved this from To do to Done Sep 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

1 participant