Skip to content

Commit 3817486

Browse files
authored
RI-7081: database connection failed is sent multiple times
prevent calling overview endpoint over and over again if there is no connection
1 parent ede978a commit 3817486

File tree

17 files changed

+1039
-468
lines changed

17 files changed

+1039
-468
lines changed

redisinsight/ui/src/components/auto-refresh/AutoRefresh.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ const AutoRefresh = ({
136136
// refresh interval
137137
useEffect(() => {
138138
updateLastRefresh()
139-
140139
if (enableAutoRefresh && !loading && !disabled) {
141140
intervalRefresh = setInterval(() => {
142141
if (document.hidden) return

0 commit comments

Comments
 (0)