You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 9, 2026. It is now read-only.
@@ -292,7 +330,7 @@ class LdkModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMod
292
330
//If it's been more than 24 hours then we need to update RGS
293
331
val timestamp =if (networkGraph!!._last_rapid_gossip_sync_timestampisOption_u32Z.Some) (networkGraph!!._last_rapid_gossip_sync_timestampasOption_u32Z.Some).some.toLong() else0// (networkGraph!!._last_rapid_gossip_sync_timestamp as Option_u32Z.Some).some
294
332
val minutesDiffSinceLastRGS = (System.currentTimeMillis() /1000- timestamp) /60
295
-
if (minutesDiffSinceLastRGS <60) {
333
+
if (minutesDiffSinceLastRGS <(60* skipHoursThreshold)) {
296
334
LdkEventEmitter.send(EventTypes.native_log, "Skipping rapid gossip sync. Last updated ${minutesDiffSinceLastRGS/60} hours ago.")
0 commit comments