tangled
alpha
login
or
join now
atscan.net
/
plcbundle-go
1
fork
atom
[DEPRECATED] Go implementation of plcbundle
1
fork
atom
overview
issues
pulls
pipelines
update sync debug info
tree.fail
4 months ago
2ec041c6
1bab80ee
+4
-4
1 changed file
expand all
collapse all
unified
split
internal
sync
syncer.go
+4
-4
internal/sync/syncer.go
···
96
96
97
97
if fetchedCount > 0 {
98
98
if totalIndexTime > 10*time.Millisecond {
99
99
-
config.Logger.Printf("[Sync] ✓ Bundle %06d | Synced: %d | Mempool: %d (+%d) | %s (index: %s)",
99
99
+
config.Logger.Printf("[Sync] ✓ Bundle %06d | synced: %d | mempool: %d (+%d) | time: %s (index: %s)",
100
100
currentBundle, fetchedCount, mempoolAfter, addedOps,
101
101
duration.Round(time.Millisecond), totalIndexTime.Round(time.Millisecond))
102
102
} else {
103
103
-
config.Logger.Printf("[Sync] ✓ Bundle %06d | Synced: %d | Mempool: %d (+%d) | %s",
103
103
+
config.Logger.Printf("[Sync] ✓ Bundle %06d | synced: %d | mempool: %d (+%d) | time: %s",
104
104
currentBundle, fetchedCount, mempoolAfter, addedOps, duration.Round(time.Millisecond))
105
105
}
106
106
} else if addedOps > 0 {
107
107
// No bundles but added to mempool
108
108
-
config.Logger.Printf("[Sync] ✓ Bundle %06d | Mempool: %d (+%d) | %s",
108
108
+
config.Logger.Printf("[Sync] ✓ Bundle %06d | mempool: %d (+%d) | time: %s",
109
109
currentBundle, mempoolAfter, addedOps, duration.Round(time.Millisecond))
110
110
} else {
111
111
// Already up to date
112
112
-
config.Logger.Printf("[Sync] ✓ Bundle %06d | Up to date | %s",
112
112
+
config.Logger.Printf("[Sync] ✓ Bundle %06d | up to date | time: %s",
113
113
currentBundle, duration.Round(time.Millisecond))
114
114
}
115
115
}