BUG/MINOR: debug: do not set task expiration to TICK_ETERNITY
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Nov 2024 14:37:38 +0000 (15:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Nov 2024 14:39:00 +0000 (15:39 +0100)
commit808a7cc7775fd54762b94e5e6c0220d8a30453f7
tree2595fe2d95a0f1b28260a2e85a438bf9d5fbb511
parent2f287f14f355e734e512732e35aebf993d000792
BUG/MINOR: debug: do not set task expiration to TICK_ETERNITY

Using "debug task", it's possible to change a task's expiration, but
we must be careful not to set it to TICK_ETERNITY. Let's use tick_add()
instead. The risk is basically nul since it's a debugging command, so
no backport is needed.
src/debug.c