mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-09 21:29:06 -05:00
improvement: reduce logging level for rejected events
This commit is contained in:
parent
3302fb2e81
commit
079722ddd9
|
@ -83,7 +83,7 @@ impl Event {
|
||||||
// calculate difference, plus how far future we allow
|
// calculate difference, plus how far future we allow
|
||||||
if curr_time + (allowable_future as u64) < self.created_at {
|
if curr_time + (allowable_future as u64) < self.created_at {
|
||||||
let delta = self.created_at - curr_time;
|
let delta = self.created_at - curr_time;
|
||||||
info!(
|
debug!(
|
||||||
"Event is too far in the future ({} seconds), rejecting",
|
"Event is too far in the future ({} seconds), rejecting",
|
||||||
delta
|
delta
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user