Permanently fix unreliable sync finished log regex (#4504)

Unlike the other recent changes, this is a permanent fix.
This commit is contained in:
teor 2022-05-26 13:40:28 +10:00 committed by GitHub
parent 9e590839ff
commit 4add7fc53c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ pub const STOP_AT_HEIGHT_REGEX: &str = "stopping at configured height";
/// - we have synced all known checkpoints,
/// - the syncer has stopped downloading lots of blocks, and
/// - we are regularly downloading some blocks via the syncer or block gossip.
pub const SYNC_FINISHED_REGEX: &str = "estimated progress to chain tip sync_percent=100";
pub const SYNC_FINISHED_REGEX: &str =
"finished initial sync to chain tip, using gossiped blocks sync_percent=100";
/// Temporary workaround for slow syncs - stop at 97%.
///