passport-user-job-uat.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. [incSync]
  2. switch = false
  3. [fullSync]
  4. asoCountryCodeSwitch = false
  5. [fullSync.asoAccount]
  6. switch = false
  7. chanNum = 20
  8. chanSize = 1024
  9. start = 0
  10. end = 100000000
  11. count = 10000
  12. [fullSync.asoAccountInfo]
  13. switch = false
  14. chanNum = 20
  15. chanSize = 1024
  16. start = 0
  17. end = 100000000
  18. count = 10000
  19. [fullSync.asoAccountReg]
  20. switch = false
  21. chanNum = 20
  22. chanSize = 1024
  23. start = 0
  24. end = 100000000
  25. count = 10000
  26. [fullSync.asoAccountSns]
  27. switch = false
  28. chanNum = 20
  29. chanSize = 1024
  30. start = 0
  31. end = 100000000
  32. count = 10000
  33. [fullSync.asoTelBindLog]
  34. switch = false
  35. chanNum = 20
  36. chanSize = 1024
  37. start = 0
  38. end = 100000000
  39. count = 10000
  40. [scheduler]
  41. switch = false
  42. telDuplicateCron = "*/5 * * * * ?"
  43. emailDuplicateCron = "*/5 * * * * ?"
  44. [bm]
  45. addr = "0.0.0.0:8000"
  46. timeout = "1s"
  47. [db]
  48. [db.originDB]
  49. addr = "172.22.34.101:3309"
  50. dsn = "aso:WsjbodupJcZlBeWPEiYyK8HOTIcp3n3Z@tcp(172.22.34.101:3309)/aso?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  51. active = 5
  52. idle = 2
  53. queryTimeout = "1s"
  54. execTimeout = "2s"
  55. tranTimeout = "2s"
  56. [db.originDB.breaker]
  57. window = "3s"
  58. sleep = "100ms"
  59. bucket = 10
  60. ratio = 0.5
  61. request = 100
  62. [db.userDB]
  63. addr = "172.22.34.101:3308"
  64. dsn = "passport:G5ntsSqTixJak0oyjceP1buXfVFBQH47@tcp(172.22.34.101:3308)/passport_user?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  65. active = 5
  66. idle = 2
  67. queryTimeout = "1s"
  68. execTimeout = "2s"
  69. tranTimeout = "2s"
  70. [db.userDB.breaker]
  71. window = "3s"
  72. sleep = "100ms"
  73. bucket = 10
  74. ratio = 0.5
  75. request = 100
  76. [db.encryptDB]
  77. addr = "172.22.34.101:3308"
  78. dsn = "secret_reader:VK7UMbq8Z4dBxyCzOYkh20EFsa1IWrAi@tcp(172.22.34.101:3308)/passport_secret?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  79. active = 5
  80. idle = 2
  81. queryTimeout = "1s"
  82. execTimeout = "2s"
  83. tranTimeout = "2s"
  84. [db.encryptDB.breaker]
  85. window = "3s"
  86. sleep = "100ms"
  87. bucket = 10
  88. ratio = 0.5
  89. request = 100
  90. [databusUtil]
  91. size = 200
  92. num = 32
  93. ticker = "1s"
  94. chan = 1024
  95. [databus]
  96. [databus.asoBinLogSub]
  97. key = "4ba46ba31f9a44ef"
  98. secret = "e4c5a7fce28695209e6b4f0af8cf91c5"
  99. group = "PassportUserBinlog-MainAccount-S"
  100. topic = "PassportUserBinlog-T"
  101. action = "sub"
  102. offset = "old"
  103. buffer = 2048
  104. name = "passport-user/databus"
  105. proto = "tcp"
  106. addr = "172.18.33.50:6205"
  107. idle = 1
  108. active = 1
  109. dialTimeout = "1s"
  110. readTimeout = "60s"
  111. writeTimeout = "1s"
  112. idleTimeout = "10s"