Use hardcoded value again for doCmdAll udp slots as g_conf is not loaded when using cmd line

This commit is contained in:
Ai Lin Chia
2017-05-18 15:25:25 +02:00
parent 0c9a5d6d71
commit a1799c88d9

@ -1894,7 +1894,7 @@ void doCmdAll ( int fd, void *state ) {
20000000 , // readBufSIze
20000000 , // writeBufSize
20 , // pollTime in ms
g_conf.m_udpMaxSockets , // max udp slots
3500 , // max udp slots
false )){ // is dns?
log("db: UdpServer init on port 18123 failed: %s" ,
mstrerror(g_errno));