This is an automated email from the ASF dual-hosted git repository.

gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new b31d8b138 [bugfix]: correct setInterval time interval to 2 minutes 
(#2355)
b31d8b138 is described below

commit b31d8b13806833bc57fa3401286a55d218deb410
Author: Logic <[email protected]>
AuthorDate: Wed Jul 24 00:11:43 2024 +0800

    [bugfix]: correct setInterval time interval to 2 minutes (#2355)
    
    Co-authored-by: tomsun28 <[email protected]>
---
 web-app/src/app/routes/monitor/monitor-list/monitor-list.component.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.ts 
b/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.ts
index ee106f31c..ad3b36a26 100644
--- a/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.ts
+++ b/web-app/src/app/routes/monitor/monitor-list/monitor-list.component.ts
@@ -106,7 +106,7 @@ export class MonitorListComponent implements OnInit, 
OnDestroy {
     // Set up an interval to refresh the table every 2 minutes
     this.intervalId = setInterval(() => {
       this.sync();
-    }, 12000); // 120000 ms = 2 minutes
+    }, 120000); // 120000 ms = 2 minutes
   }
 
   ngOnDestroy(): void {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to