Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

Changing socket server config at runtime

$
0
0

Is it possible to modify properties of a socket server at runtime without needing to change the xml? For example, if I wanted to change something like connection-idle-timeout-minutes from 120 to 60, could I do it without modifying the following xml block in services-config.xml and redeploying?

 

     <server id="my-nio-server" class="flex.messaging.socketserver.SocketServer">

            <properties>

                <connection-idle-timeout-minutes>120</connection-idle-timeout-minutes >

                <socket-keep-alive-enabled>true</socket-keep-alive-enabled>

                <max-worker-threads>200</max-worker-threads>

                <min-worker-threads>200</min-worker-threads>

                <accept-thread-priority>7</accept-thread-priority>

                <accept-backlog>25</accept-backlog>               

            </properties>

        </server>

 

I ask because our application is large enough that off cycle deploys or downtimes are rarely feasible, and it would be convenient if there were a way to change these values at runtime.


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>