mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 00:01:25 +00:00
Changing warn to debug for rate limiting message.
This commit is contained in:
parent
f300c67a4d
commit
c18fa5a38e
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