This repository was archived by the owner on Jun 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ class Footer extends React.Component {
277277 // user is not looking at the app, no reconnection effort necessary
278278 if ( ! ifvisible . now ( "active" ) ) return ;
279279
280+ const outOfSyncTrigger = 10 ; // was 3
280281 let connected = ! ( this . props . rpc_connection_status === "closed" ) ;
281282
282283 if ( ! connected ) {
@@ -300,7 +301,7 @@ class Footer extends React.Component {
300301 } , forceReconnectAfterSeconds * 1000 ) ;
301302
302303 // Still out of sync?
303- if ( this . getBlockTimeDelta ( ) > 3 ) {
304+ if ( this . getBlockTimeDelta ( ) > outOfSyncTrigger ) {
304305 console . log (
305306 "Your node is out of sync since " +
306307 this . getBlockTimeDelta ( ) +
@@ -311,7 +312,7 @@ class Footer extends React.Component {
311312 setTimeout ( ( ) => {
312313 // Only ask the user once, and only continue if still out of sync
313314 if (
314- this . getBlockTimeDelta ( ) > 3 &&
315+ this . getBlockTimeDelta ( ) > outOfSyncTrigger &&
315316 this . state . hasOutOfSyncModalBeenShownOnce === false
316317 ) {
317318 this . setState ( {
Original file line number Diff line number Diff line change 11{
22 "name" : " kreel-ui" ,
3- "version" : " 0.0.4 " ,
4- "description" : " Web wallet interface for the kreel financial blockchain ." ,
3+ "version" : " 0.0.5 " ,
4+ "description" : " Web wallet interface for Kazahstan Reciclables Exchange EcoLom ." ,
55 "homepage" : " https://github.com/maxirmx/kreel-ui" ,
66 "author" : " maxirmx <maxirmx@gmail.com>" ,
77 "contributors" : [
You can’t perform that action at this time.
0 commit comments