]
David Lloyd commented on WFLY-9955:
-----------------------------------
In addition to the management model change to allow zero as a timeout value, I think it
might be smart to introduce a {{maximum-timeout}} management model attribute which clamps
the configured transaction timeout to the given value. Then a zero value could mean
"use the maximum".
Compatibility problem: allow a timeout value of "0" to be
set
-------------------------------------------------------------
Key: WFLY-9955
URL:
https://issues.jboss.org/browse/WFLY-9955
Project: WildFly
Issue Type: Bug
Components: Transactions
Reporter: David Lloyd
Assignee: Tom Jenkinson
Previously we allowed a transaction timeout value of "0" to be set in the
transaction subsystem, meaning "no transaction timeout". After the WF 11
changes, we've stopped allowing that value to be set. This behavior should be
restored, with "0" translating into some "very large" value.
The transaction team has indicated that using {{Integer.MAX_VALUE}} has historically
exhibited problems, so a different, smaller-but-still-large value should be used in this
case.