core/redis: remove redis (#4768)

* core/redis: remove redis

* 20 minute max wait
This commit is contained in:
Caleb Doxsey 2023-11-28 13:14:36 -07:00 committed by GitHub
parent d610b9c25c
commit bcddbff6e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 24 additions and 1187 deletions

View file

@ -13,8 +13,6 @@ const (
ServiceCache = "cache"
// ServiceDataBroker represents running the databroker service component
ServiceDataBroker = "databroker"
// StorageRedisName is the name of the redis storage backend
StorageRedisName = "redis"
// StoragePostgresName is the name of the Postgres storage backend
StoragePostgresName = "postgres"
// StorageInMemoryName is the name of the in-memory storage backend
@ -39,9 +37,7 @@ func IsValidService(s string) bool {
// IsAuthenticate checks to see if we should be running the authenticate service
func IsAuthenticate(s string) bool {
switch s {
case
ServiceAll,
ServiceAuthenticate:
case ServiceAll, ServiceAuthenticate:
return true
}
return false
@ -50,9 +46,7 @@ func IsAuthenticate(s string) bool {
// IsAuthorize checks to see if we should be running the authorize service
func IsAuthorize(s string) bool {
switch s {
case
ServiceAll,
ServiceAuthorize:
case ServiceAll, ServiceAuthorize:
return true
}
return false
@ -61,9 +55,7 @@ func IsAuthorize(s string) bool {
// IsProxy checks to see if we should be running the proxy service
func IsProxy(s string) bool {
switch s {
case
ServiceAll,
ServiceProxy:
case ServiceAll, ServiceProxy:
return true
}
return false