[pmg-devel] [PATCH pmg-api 1/1] fix #3450: api: add 'filter' parameter to queue DELETE endpoint
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Sep 22 11:18:10 CEST 2025
Am 22.09.25 um 10:58 schrieb Dominik Csapak:
> one high level comment and a few comments inline
>
> i get what you want to achieve here and this is what stoiko wrote in the
> bugreport, but from an UX perspective this could be bad. Since the
> mails shown on the gui might not match what will be deleted (e.g. new mails came in, in the meantime)
>
> would it maybe make more sense to have an approach with giving a list
> of ids to the backend? (@stoiko ?)
That would be safer, as long as it can also handle at least 1k of mails
being processed I'd be fine with that.
An alternative could be passing a cutoff timestamp from the newest mail
selected along, but an explicit list naturally is slightly simpler to
handle and to debug, so mostly just mentioning it for the sake of
completeness.
More information about the pmg-devel
mailing list