appsettings.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "Sers": {
  3. "Mq": {
  4. "Socket": {
  5. /* ServiceCenter ����� host��ַ */
  6. "host": "127.0.0.1",
  7. /* ServiceCenter ����� �����˿ں� */
  8. "port": 4501,
  9. /* �����DZ������� */
  10. //(x.1)workThread
  11. /* ��̨������Ϣ���̸߳�������λ����Ĭ��16�� */
  12. "workThreadCount": 16,
  13. //(x.2)ping
  14. /* �������Գ�ʱʱ�䣨��λms��Ĭ��2000�� */
  15. "pingTimeout": 20000,
  16. /* ��������ʧ�����Դ�������λ�Σ�Ĭ��3�� */
  17. "pingRetryCount": 3,
  18. /* ��������ʱ�������λms��Ĭ��1000�� */
  19. "pingInterval": 1000,
  20. //(x.3)request
  21. /* ����ʱʱ�䣨��λms��Ĭ��300000�� */
  22. "requestTimeout": 300000,
  23. //(x.4)secretKey
  24. /* ������Կ��������֤���Ӱ�ȫ�ԡ�����˺Ϳͻ��˱���һ�� */
  25. "secretKey": "SersSocketMq"
  26. }
  27. },
  28. /* ���л�����,�ɲ�ָ�� */
  29. "Serialization": {
  30. /* ���л��ַ����롣�ɲ�ָ����Ĭ�� UTF8��ֻ��Ϊ UTF7,UTF8,UTF32,ASCII,Unicode�� */
  31. "Encoding": "UTF8"
  32. }
  33. }
  34. }