forked from Silverfish/proton-bridge
feat(BRIDGE-236): added SMTP observability metrics
This commit is contained in:
@ -44,6 +44,7 @@ func (d *distinctionUtility) resetHeartbeatData() {
|
||||
|
||||
func (d *distinctionUtility) updateHeartbeatData(errType DistinctionErrorTypeEnum) {
|
||||
d.withUpdateHeartbeatDataLock(func() {
|
||||
//nolint:exhaustive
|
||||
switch errType {
|
||||
case SyncError:
|
||||
d.heartbeatData.receivedSyncError = true
|
||||
|
||||
Reference in New Issue
Block a user