error on failed map lookup
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details

This commit is contained in:
Sarah Jamie Lewis 2021-09-03 13:07:43 -07:00
parent cef991a5ef
commit c0eb013fcc
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func (pa *PeerApp) SendMessage(message model2.PeerMessage) error {
// sync map is apparently not guaranteed to be consistent // sync map is apparently not guaranteed to be consistent
_, ok := pa.getValRequests.Load(message.ID) _, ok := pa.getValRequests.Load(message.ID)
for !ok { for !ok {
log.Debugf("retrying to load value map...") log.Errorf("retrying to load value map after lookup failure")
_, ok = pa.getValRequests.Load(message.ID) _, ok = pa.getValRequests.Load(message.ID)
} }
} }