mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 08:23:59 +00:00
Changing warn to debug for rate limiting message.
This commit is contained in:
parent
6f14f0756b
commit
b283faf22d
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ pub mod rate_limiter;
|
|||
use super::{IPAddr, Settings};
|
||||
use crate::api::APIError;
|
||||
use failure::Error;
|
||||
use log::warn;
|
||||
use log::debug;
|
||||
use rate_limiter::RateLimiter;
|
||||
use std::collections::HashMap;
|
||||
use std::sync::Arc;
|
||||
|
|
|
@ -105,7 +105,7 @@ impl RateLimiter {
|
|||
}
|
||||
|
||||
if rate_limit.allowance < 1.0 {
|
||||
warn!(
|
||||
debug!(
|
||||
"Rate limited IP: {}, time_passed: {}, allowance: {}",
|
||||
ip, time_passed, rate_limit.allowance
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue