File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const SLASH_DOMAINS = [
3838 ".app.thegaas.com" ,
3939 ".slash.dgraph.io" ,
4040 ".cloud.dgraph.io" ,
41+ "hypermode.host" ,
4142] ;
4243
4344const assert = ( test , message = "No message" ) => {
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ import ZeroUrlWidget from "./ZeroUrlWidget";
3232
3333import "./ServerConnectionModal.scss" ;
3434
35+ const CHECK_HEALTH_INTERVAL = 30000 ;
36+
3537export default function ServerConnectionModal ( ) {
3638 const dispatch = useDispatch ( ) ;
3739 const onHide = ( ) => dispatch ( clickSidebarUrl ( "" ) ) ;
@@ -61,7 +63,7 @@ export default function ServerConnectionModal() {
6163 return ;
6264 }
6365 dispatch ( actions . checkHealth ( { unknownOnStart : false } ) ) ;
64- } , 3000 ) ;
66+ } , CHECK_HEALTH_INTERVAL ) ;
6567
6668 const connectTo = url => {
6769 if ( ! url || ! url . trim ( ) ) {
You can’t perform that action at this time.
0 commit comments