Skip to content

Commit cf2bf5b

Browse files
committed
Improve logging
1 parent 7eb32f4 commit cf2bf5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • lychee-lib/src/ratelimit/host

lychee-lib/src/ratelimit/host/host.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ impl Host {
300300
fn increase_backoff(&self, mut increased_backoff: Duration) {
301301
if increased_backoff > MAXIMUM_BACKOFF {
302302
warn!(
303-
"Encountered an unexpectedly big rate limit backoff duration of {}. Capping the duration to {} instead.",
303+
"Host {} sent an unexpectedly big rate limit backoff duration of {}. Capping the duration to {} instead.",
304+
self.key,
304305
format_duration(increased_backoff),
305306
format_duration(MAXIMUM_BACKOFF)
306307
);

0 commit comments

Comments
 (0)