]
Yeray Santana Borges reassigned WFCORE-1427:
--------------------------------------------
Assignee: Yeray Santana Borges
Add a timeout param to reload op and use it for "graceful
reload"
-----------------------------------------------------------------
Key: WFCORE-1427
URL:
https://issues.jboss.org/browse/WFCORE-1427
Project: WildFly Core
Issue Type: Enhancement
Components: CLI, Domain Management
Reporter: Brian Stansberry
Assignee: Yeray Santana Borges
So instead of
{code}
:suspend(20)
:reload
{code}
It's just
{code}
:reload(20)
{code}
The high level 'reload' command in the CLI should take a --timeout param as
well.
If doing the graceful suspend as part of server side ":reload" handling proves
problematic (I haven't looked into it at all before filing this) then a simpler
alternative is to only go with the --timeout param on the CLI reload command, and have the
CLI implement the graceful behavior internally by first calling :suspend and then :reload.
Web console could do the same thing.