diff --git a/backend/services/browser_service.go b/backend/services/browser_service.go index 49afbc1..be4cd63 100644 --- a/backend/services/browser_service.go +++ b/backend/services/browser_service.go @@ -291,7 +291,8 @@ func (b *browserService) getRedisClient(server string, db int) (item *connection var ok bool var client redis.UniversalClient if item, ok = b.connMap[server]; ok { - if item.db == db { + if item.db == db || db < 0 { + // return without switch database directly return } diff --git a/frontend/src/components/content_value/ContentServerStatus.vue b/frontend/src/components/content_value/ContentServerStatus.vue index 9337202..4569ba8 100644 --- a/frontend/src/components/content_value/ContentServerStatus.vue +++ b/frontend/src/components/content_value/ContentServerStatus.vue @@ -1,6 +1,6 @@