dataplaneapi icon indicating copy to clipboard operation
dataplaneapi copied to clipboard

is it possible to get transaction start time ?

Open chipitsine opened this issue 5 years ago • 2 comments

I played with dataplane api. Ususally, I started transaction, run few commands, if they fail, so I got orphaned transaction. A lot of orphaned transactions. So, I wish to be able to delete such transactions.

First, I can get configuration version, and remove all transaction that are smaller by version. That makes sense. But, I'd like to be sure, for example transaction is at least 1 hour old.

Is it possible to add transaction start time to api /services/haproxy/transactions?

chipitsine avatar Feb 02 '20 18:02 chipitsine

That is a good point, we'll definitely add it.

mjuraga avatar Feb 03 '20 14:02 mjuraga

With "start time" information, what do you think about implementing auto-cleanup based on timeout parameter (disabled by default) ?

Regards

ymartin-ovh avatar Oct 22 '20 13:10 ymartin-ovh