kevinw66 opened a new pull request #8186:
URL: https://github.com/apache/dubbo/pull/8186


   ## What is the purpose of the change
   
   Improve async export / refer
   
   ## Brief changelog
   
   Currently we use 6 parameters to support async and background export / refer
   Usage: 
   `<dubbo:provider export-async="true" export-thread-num="10" 
export-background="true"/>` 
   `<dubbo:consumer refer-async="true" refer-thread-num="10" 
refer-background="true"/>` 
   
   export-async(refer-async): we create a thread pool to export(refer) services 
if this set to `true`, or we do export(refer) in main thread if this set to 
`false`, default `false`.
   export-thread-num(refer-thread-num): means the core size of async thread 
pool, default `10`.
   export-background(refer-background): async export(refer) will run in 
background if this set to `true`, or bootstrap will wait it to finish if this 
set to `false`, default `false`. this can only take effects when 
`export-async(refer-async)` is set to `true`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to