strfry icon indicating copy to clipboard operation
strfry copied to clipboard

Cron deletes events that are not expired

Open Dreyhh opened this issue 2 years ago • 3 comments

It seems there is an issue with the deletion of expired events, namely, the Cronjob deletes events that have not expired yet. To reproduce: create an event with expiration tag of say 7 days from the event's creation date then insert any other event to the relay. The event with the expiration tag will be considered expired by the Cronjob (and deleted)

Dreyhh avatar Oct 05 '23 01:10 Dreyhh

I'm going to look into this ASAP -- it is probably a bug introduced in a recent refactor.

hoytech avatar Oct 05 '23 13:10 hoytech

Hello @hoytech , any updates on this? I'm facing this issue, I can help with code if necessary :)

KoalaSat avatar Aug 08 '24 09:08 KoalaSat

for the record, I found the bug. Tested it and it seems to work https://github.com/hoytech/strfry/pull/117

KoalaSat avatar Aug 08 '24 12:08 KoalaSat

Thanks, looking at it now for next release! :+1:

hoytech avatar Aug 31 '24 13:08 hoytech