Bind-ports-after-start

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
 
Line 8: Line 8:
 
   <server>
 
   <server>
 
     <bind-ports-after-start/>
 
     <bind-ports-after-start/>
 
+
 
     <http server-id="" port="8080"/>
 
     <http server-id="" port="8080"/>
 
    
 
    

Revision as of 17:40, 29 November 2005


The <bind-ports-after-start/> tag tells Resin to wait until initialization completes before listening to external TCP ports.

This delay can help load balanced configurations response more quickly and reliabily as a server is restarting.

<resin xmlns="http://caucho.com/ns/resin">
  <server>
    <bind-ports-after-start/>

    <http server-id="" port="8080"/>
  
     ...
  </server>
</resin>
Personal tools