chore(relay): downgrade log on missing allocation for REFRESH (#7490)

Attempting to refresh an allocation is the only idempotent way in TURN
to test whether one has an active allocation. As such, logging this on
WARN is too aggressive.

Resolves: #7481.
This commit is contained in:
Thomas Eizinger
2024-12-13 03:48:02 +11:00
committed by GitHub
parent 7a478634a8
commit da04924da1

View File

@@ -603,7 +603,7 @@ where
// TODO: Verify that this is the correct error code.
let Some(allocation) = self.allocations.get_mut(&sender) else {
let (error_response, msg) = make_error_response(AllocationMismatch, &request);
tracing::warn!(target: "relay", "{msg}: Sender doesn't have an allocation");
tracing::info!(target: "relay", "{msg}: Sender doesn't have an allocation");
return Err(error_response);
};