Need some sort of auto-purge of logged requests #57
-
DescriptionI have been running this plugin on Entry afterSave for two weeks, and it has already accumulated 67k rows which prevents me from backing up the database from the admin interface (and blocking access to the site). Preferably some retention setting (1 day, 1 week) and purge all entries that are done and older automatically. Also with correct indexes to avoid a cleanup to choke the whole database server :) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Seconding this - I was surprised to see how quickly the size of a Craft DB had grown, and assumed it must have been Neo or something. Was shocked to see that around 1/3 of the size of my entire DB was just logged webhook requests! Would be great if there were a config setting for number of days' worth of requests to log, with older ones being flushed out at GC or something. |
Beta Was this translation helpful? Give feedback.
-
We just released Webhooks 2.4.0, which now purges old webhook request logs during garbage collection. By default any requests over 7 days old will be deleted, and you can configure that duration (or disable the purging entirely) via the new Purge Duration plugin setting. |
Beta Was this translation helpful? Give feedback.
-
Thank you!!!
Patrick Harrington
617.505.4456
…________________________________
From: Brandon Kelly ***@***.***>
Sent: Monday, August 30, 2021 7:10:47 PM
To: craftcms/webhooks ***@***.***>
Cc: Patrick Harrington ***@***.***>; Comment ***@***.***>
Subject: Re: [craftcms/webhooks] Need some sort of auto-purge of logged requests (#57)
We just released Webhooks 2.4.0, which now purges old webhook request logs during garbage collection<https://craftcms.com/docs/3.x/gc.html>.
By default any requests over 7 days old will be deleted, and you can configure that duration (or disable the purging entirely) via the new Purge Duration plugin setting.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#57 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AACCW4SPZV3JSZENKF4L3WDT7QFXPANCNFSM5DC3OTSQ>.
|
Beta Was this translation helpful? Give feedback.
We just released Webhooks 2.4.0, which now purges old webhook request logs during garbage collection.
By default any requests over 7 days old will be deleted, and you can configure that duration (or disable the purging entirely) via the new Purge Duration plugin setting.