config.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <tars>
  2. <application>
  3. <client>
  4. #tarsregistry locator
  5. locator = tars.tarsregistry.QueryObj@tcp -h 127.0.0.1 -p 17890
  6. #max invoke timeout
  7. sync-invoke-timeout = 5000
  8. #refresh endpoint interval
  9. refresh-endpoint-interval = 10000
  10. #stat obj
  11. stat = tars.tarsstat.StatObj
  12. #max send queue length limit
  13. sendqueuelimit = 100000
  14. #async queue length limit
  15. asyncqueuecap = 100000
  16. #async callback thread num
  17. asyncthread = 3
  18. #net thread
  19. netthread = 1
  20. #merge net and sync thread
  21. mergenetasync = 0
  22. #module name
  23. modulename = TestApp.AuthClient
  24. <TestApp.AuthServer.AuthObj>
  25. #auth access key
  26. accesskey = tars-test-user
  27. #auth secret key
  28. secretkey = 123456
  29. </TestApp.AuthServer.AuthObj>
  30. </client>
  31. </application>
  32. </tars>