[ 
https://issues.apache.org/jira/browse/FELIX-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899085#comment-13899085
 ] 

Dominique Pfister commented on FELIX-4422:
------------------------------------------

Good point, Jan Willem: deployment could indeed be time-consuming, so I'd 
rather keep this asynchronous. I don't expect the same from undeploying, so we 
could switch to synchronous mode here, which would also remedy FELIX-4423.

> Remove asynchronous starting of Jetty service
> ---------------------------------------------
>
>                 Key: FELIX-4422
>                 URL: https://issues.apache.org/jira/browse/FELIX-4422
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.2.2
>            Reporter: J.W. Janssen
>             Fix For: http-2.3.0
>
>
> The Jetty bundle currently uses an {{ExecutorService}} to start Jetty in the 
> background. I'm not sure this is actually needed with the recent versions of 
> Jetty. I've did a quick test to start Jetty synchronously in the bundle 
> activator, but could not measure any significant timing differences in 
> startup times.
> A reason to change this is that it makes the start/stop behaviour bundle more 
> deterministic when using it in integration tests.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to