Setting network.socketTimeout and network.lockTimeout

56 views
Skip to first unread message

Pradeep B K

unread,
Oct 21, 2015, 5:13:19 PM10/21/15
to OrientDB
Hi All,

Where can i set network.socketTimeout  and network.lockTimeout in configuration file? I have added 

                   <entry value="60000" name="network.socketTimeout"/>           
                    <entry value="45000" name="network.lockTimeout"/>
in orientdb-server-config.xml under properties but when I check for the socketTimeout from console still it is pointing to default value. 


Regards,

Pradeep B K

unread,
Oct 21, 2015, 6:01:18 PM10/21/15
to OrientDB
Found a fix but I am not sure if it is a correct one. 

I added 

OGlobalConfiguration.NETWORK_SOCKET_TIMEOUT.setValue(60000);

        OGlobalConfiguration.NETWORK_LOCK_TIMEOUT.setValue(45000);



in my java code before connecting to the db from my client. 


Still I am wondering if is there any way to set this at db config file!

Reply all
Reply to author
Forward
0 new messages