-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WFLY-14980] add default 60s r/o timeout to listeners #15069
Conversation
@darranl please review |
@ropalka The needs a management API version bump and a transformer, so legacy host controller runs with a 60 s timeout if no value is explicitly configured. |
Hello @bstansberry , the bump is already in, see: a1f9ad7 |
@ropalka No, we didn't drop transformers, we just reduced the number of old releases we transform to to WF 23 or later. So this needs transformers. |
Fixed @bstansberry and thanks for the clarification. |
This should get it into WildFly @bstansberry before we will release it. ( @fl4via CC ) |
Just an FYI this is a long pending PR @bstansberry . |
Thanks @ropalka |
.setDiscard(DiscardAttributeChecker.DEFAULT_VALUE, WRITE_TIMEOUT) | ||
.setDiscard(DiscardAttributeChecker.DEFAULT_VALUE, READ_TIMEOUT) | ||
.addRejectCheck(new SimpleRejectAttributeChecker(ModelNode.TRUE), WRITE_TIMEOUT.getName()) | ||
.addRejectCheck(new SimpleRejectAttributeChecker(ModelNode.TRUE), READ_TIMEOUT.getName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This transformation does not look correct to me. A new default value should not result in any rejections, but rather use an AttributeConverter.
I've fixed this (and included missing tests) in this PR: #16455
<xs:attribute name="read-timeout" type="xs:long" default="60000"/> | ||
<xs:attribute name="write-timeout" type="xs:long" default="60000"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version 13 was introduced in WF27. Modifications to XSDs are generally done in a new version.
I've patched this here: #16455
https://issues.redhat.com/browse/WFLY-14980
Follows on: #15041
Supersedes: #14595