From b3db9f058914cc3fbfc5471684f18f4cf1ed8e3b Mon Sep 17 00:00:00 2001 From: Ahmed Date: Sun, 28 Apr 2024 23:06:35 -0500 Subject: [PATCH] more debug logs --- src/p2p/CycleCreator.ts | 2 ++ src/p2p/Join/routes.ts | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/p2p/CycleCreator.ts b/src/p2p/CycleCreator.ts index daa434225..909dbe386 100644 --- a/src/p2p/CycleCreator.ts +++ b/src/p2p/CycleCreator.ts @@ -470,6 +470,8 @@ async function cycleCreator() { /* prettier-ignore */ if (logFlags.verbose) info(`cc: scheduling currentCycle:${currentCycle} ${callTag} ${startQ1}`) + if (config.debug.cycleRecordOOSDebugLogs) console.log(`CycleCreator: Cycle ${currentCycle} started`) + schedule(runQ1, startQ1, { runEvenIfLateBy: quarterDuration - 1 * SECOND }) // if there's at least one sec before Q2 starts, we can start Q1 now schedule(runQ2, startQ2) schedule(runQ3, startQ3) diff --git a/src/p2p/Join/routes.ts b/src/p2p/Join/routes.ts index fb0e63d44..4a4ffb76f 100644 --- a/src/p2p/Join/routes.ts +++ b/src/p2p/Join/routes.ts @@ -490,7 +490,7 @@ const gossipSyncFinishedRoute: P2P.P2PTypes.GossipHandler