Demo entry 6713718

c

   

Submitted by anonymous on Feb 09, 2018 at 10:20
Language: C++. Code size: 1.9 kB.

"AS_POSP":    {
        "LISTEN":    {
            "ChildProcess": 1,                  //启动进程数    (最大64进程)
            "ServiceThreads": 1,                //启动线程数(每个进程最大16个线程)
            "QueueTimeout": 50,                 //队列数据包的超时时间
            "ThreadPoolTimeout": 120,           //当前线程的超时间
            "iHsmTimeout": 40,                  //服务间同步调用的时间
            "iSwitchTimeout": 50                //服务间同步调用的时间
        },
        "LOG":    {
            "Level": 2,                         //日志级别
            "LineNo": 0,                        //是否打印行号
            "Field": 1                          //是否打印敏感信息
        },
        "LBNET":    {                           //负载均衡配置
            "UdpMultiIp": "239.0.1.1",          //UDP地址
            "UdpMultiPort": 0,                  //UDP端口
            "LocalWeight": 8                    //配置成9是只调本地服务,0是不调本服务,1到8是各服务器间的权重
        },
        "DBCACHE":    {                         //数据库属性
            "MaxDbConnections": 4,              //数据库的最大连接
            "DetailSQL": 1,                     //日志是否打印详细SQL
            "DBSCOUNT": 1                       //本进程使用总数据库个数(最大值:32)
        },
        "DBS1":    {
            "DbsName": "szpl",                  //数据库名
            "SlaveNames": "",                   //Slave数据库连接名(以`;`为分隔符的多个连接名)
            "DbsType": "Oracle",                //数据库类型
            "NlsChar": "AL32UTF8",              //数据库字符集
            "TransactionTimeout":    40,        //数据库空闲'事务'超时(或每条SQL执行的最大时间)
            "UserName": "nac_user",             //用户名
            "UserPasswd": "BjnbubLX7hv/GPLi"    //密码
        },
        "DBSUSER":    {                         //用户名
            "CrmUserName": "crm_user",        
            "NacUserName": "nac_user"
        },
        "BUTTON":    {                          //其他业务的配置
            "iD0Amount": 1000,
            "iALTrade": 0
        }
    }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).