mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 09:36:43 +00:00
setting rejectEphemeralEventsOlderThanSeconds larger than ephemeralEventsLifetimeSeconds did not work because events were then considered expired
This commit is contained in:
@ -14,6 +14,10 @@ static void checkConfig() {
|
||||
LW << "Your relay.info.pubkey is incorrectly formatted. It should be 64 hex digits.";
|
||||
}
|
||||
}
|
||||
|
||||
if (cfg().events__rejectEphemeralEventsOlderThanSeconds >= cfg().events__ephemeralEventsLifetimeSeconds) {
|
||||
LW << "rejectEphemeralEventsOlderThanSeconds is >= ephemeralEventsLifetimeSeconds, which could result in unnecessary disk activity";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user