Skip to content

Commit

Permalink
fixing cache spam for coralogix. (lavanet#1052)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet authored Dec 18, 2023
1 parent 90c2df2 commit 9f8b53d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/rpcconsumer/rpcconsumer_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ func (rpccs *RPCConsumerServer) sendRelayToProvider(

// cache failed, move on to regular relay
if performance.NotConnectedError.Is(errResponse) {
utils.LavaFormatError("cache not connected", errResponse)
utils.LavaFormatDebug("cache not connected", utils.LogAttr("error", errResponse))
}

// unique per dappId and ip
Expand Down
2 changes: 1 addition & 1 deletion protocol/rpcprovider/rpcprovider_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ func (rpcps *RPCProviderServer) TryRelay(ctx context.Context, request *pairingty
reply = cacheReply.GetReply()
ignoredMetadata = cacheReply.GetOptionalMetadata()
if err != nil && performance.NotConnectedError.Is(err) {
utils.LavaFormatWarning("cache not connected", err, utils.Attribute{Key: "GUID", Value: ctx})
utils.LavaFormatDebug("cache not connected", utils.LogAttr("err", err), utils.Attribute{Key: "GUID", Value: ctx})
}
}
if err != nil || reply == nil {
Expand Down

0 comments on commit 9f8b53d

Please sign in to comment.