Fallback to servicestore if rpc is unavailable (#4391)

* Fallback to servicestore if rpc is unavailable

compatibility mode for #4387

* conf
This commit is contained in:
cnderrauber
2026-03-25 11:09:52 +08:00
committed by GitHub
parent 59e9bb41b9
commit 1f1eeb6832
7 changed files with 47 additions and 6 deletions
+2
View File
@@ -68,6 +68,8 @@ const (
maxRetries = 5
)
var _ OSSServiceStore = (*RedisStore)(nil)
type RedisStore struct {
rc redis.UniversalClient
unlockScript *redis.Script