From 07cfc34a8e74ea953eb4d25b260370a3eab9a753 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 23 May 2022 09:19:44 -0400 Subject: [PATCH] UI: Increase the map update frequency by 5x --- monkey/monkey_island/cc/ui/src/components/pages/MapPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js index 13db80e25..f794e127d 100644 --- a/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js +++ b/monkey/monkey_island/cc/ui/src/components/pages/MapPage.js @@ -32,7 +32,7 @@ class MapPageComponent extends AuthComponent { componentDidMount() { this.getNodeStateListFromServer(); this.updateMapFromServer(); - this.interval = setInterval(this.updateMapFromServer, 5000); + this.interval = setInterval(this.updateMapFromServer, 1000); } componentWillUnmount() {