<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 30, 2019 at 12:59 AM Ingo Weiss &lt;<a href="mailto:ingo@redhat.com">ingo@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Brian, thanks for looking into this.<br>
<br>
On 2019-07-29 12:17:36-0500, Brian Stansberry wrote:<br>
&gt; The Question<br>
&gt; <br>
&gt; Question is whether to<br>
&gt; <br>
&gt; a) have an overall config switch to disable graceful startup across the<br>
&gt; board (e.g. a new value for the --start-mode cmd line param passed to<br>
&gt; standalone.sh)<br>
<br>
I think this the better solution based on your pros. Having this<br>
limited to only HTTP(S) requests makes it very limiting and ends up<br>
not being sufficient in some cases, as you described.<br>
<br>
Do you think it would be possible to make this configurable per<br>
subsystem as well?<br>
<br>
For some subsystems, like Undertow and EJB, you may want to use as<br>
soon as they become available to reach out other systems or even call<br>
a servlet on another deployment that has already started, this a case<br>
I&#39;ve seen before, while others, like Messaging, you may want to wait<br>
for other subsystem, like JCA, to come up first. Does it make sense?<br></blockquote><div><br></div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif">If I understand you correctly, instead of my a) a global flag, or my b) an undertow flag, there would be several b)s. One to tell undertow to let requests through, one to tell EJB to let requests through,, one to tell messaging to let requests through (although that one&#39;s theoretical as messaging doesn&#39;t have graceful startup/shutdown anyway.)  Probably one for every subsystem that does anything related to graceful. The user then toggles the ones they want for their app. They&#39;d have to know which they want.</div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif"><br></div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif">That would be a quite big increase in scope. </div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif"><br></div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif">Not sure it&#39;s worth it, but it&#39;s something to think about while I&#39;m on PTO. :)</div><div class="gmail_default" style="font-family:&quot;trebuchet ms&quot;,sans-serif"><br></div></div></div>