bfs-upload-job.toml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. # This is a TOML document. Boom
  2. version = "1.0.0"
  3. user = "nobody"
  4. pid = "/tmp/bfs-upload-job.pid"
  5. dir = "./"
  6. DonwloadHost = "http://uat-i0.hdslb.com"
  7. UploadHost = "http://uat-bfs.bilibili.co"
  8. UploadAdminHost = "http://uat-manager.bilibili.co/x/admin/upload"
  9. HTTPTimeout = "5s"
  10. [bm]
  11. [bm.inner]
  12. addr = "0.0.0.0:9001"
  13. maxListen = 10
  14. timeout = "1s"
  15. [bm.local]
  16. addr = "0.0.0.0:9002"
  17. maxListen = 10
  18. timeout = "1s"
  19. [multiHTTP]
  20. [multiHTTP.outer]
  21. addrs = ["0.0.0.0:6121"]
  22. maxListen = 10
  23. [multiHTTP.inner]
  24. addrs = ["0.0.0.0:6122"]
  25. maxListen = 10
  26. [multiHTTP.local]
  27. addrs = ["0.0.0.0:6123"]
  28. maxListen = 10
  29. [identify]
  30. whiteAccessKey = ""
  31. whiteMid = 0
  32. [identify.app]
  33. key = "6a29f8ed87407c11"
  34. secret = "d3c5a85f5b895a03735b5d20a273bc57"
  35. [identify.memcache]
  36. name = "go-business/identify"
  37. proto = "tcp"
  38. addr = "172.16.33.54:11211"
  39. active = 5
  40. idle = 10
  41. dialTimeout = "1s"
  42. readTimeout = "1s"
  43. writeTimeout = "1s"
  44. idleTimeout = "80s"
  45. [identify.host]
  46. auth = "http://uat-passport.bilibili.com"
  47. secret = "http://uat-open.bilibili.com"
  48. [identify.httpClient]
  49. key = "f022126a8a365e20"
  50. secret = "b7b86838145d634b487e67b811b8fab2"
  51. dial = "30ms"
  52. timeout = "100ms"
  53. keepAlive = "60s"
  54. [identify.httpClient.breaker]
  55. window = "10s"
  56. sleep = "100ms"
  57. bucket = 10
  58. ratio = 0.5
  59. request = 100
  60. [identify.httpClient.url]
  61. "http://uat-passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  62. "http://uat-passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  63. "http://uat-open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  64. [ecode]
  65. domain = "uat-api.bilibili.co"
  66. all = "1h"
  67. diff = "5m"
  68. [ecode.clientconfig]
  69. key = "c1a1cb2d89c33794"
  70. secret = "dda47eeca111e03e6845017505baea13"
  71. dial = "2000ms"
  72. timeout = "2s"
  73. keepAlive = "10s"
  74. timer = 128
  75. [ecode.clientconfig.breaker]
  76. window ="3s"
  77. sleep ="100ms"
  78. bucket = 10
  79. ratio = 0.5
  80. request = 100
  81. [Databus]
  82. key = "dbe67e6a4c36f877"
  83. secret = "8c775ea242caa367ba5c876c04576571"
  84. group= "Bfs-SHY-MainCommonArch-S"
  85. topic= "Bfs-SHY-T"
  86. action="sub"
  87. proto = "tcp"
  88. addr = "172.18.33.50:6205"
  89. idle = 100
  90. active = 100
  91. dialTimeout = "1s"
  92. readTimeout = "60s"
  93. writeTimeout = "1s"
  94. idleTimeout = "10s"
  95. [AIYellowing]
  96. ExceptBuckets = []
  97. [AIYellowing.producer]
  98. key = "dbe67e6a4c36f877"
  99. secret = "8c775ea242caa367ba5c876c04576571"
  100. group= "Bfs-Yellow-Req-MainCommonArch-P"
  101. topic= "Bfs-Yellow-Req-T"
  102. action="pub"
  103. proto = "tcp"
  104. addr = "172.18.33.50:6205"
  105. idle = 100
  106. active = 100
  107. dialTimeout = "1s"
  108. readTimeout = "60s"
  109. writeTimeout = "1s"
  110. idleTimeout = "10s"
  111. [AIYellowing.consumer]
  112. key = "dbe67e6a4c36f877"
  113. secret = "8c775ea242caa367ba5c876c04576571"
  114. group= "Bfs-Yellow-Res-MainCommonArch-S"
  115. topic= "Bfs-Yellow-Res-T"
  116. action="sub"
  117. proto = "tcp"
  118. addr = "172.18.33.50:6205"
  119. idle = 100
  120. active = 100
  121. dialTimeout = "1s"
  122. readTimeout = "60s"
  123. writeTimeout = "1s"
  124. idleTimeout = "10s"
  125. [threshold]
  126. sex = 9500
  127. [httpClient]
  128. key = "ad4bb9b8f5d9d4a7"
  129. secret = "6912080d78d58be7cb94f57d50d438f6"
  130. dial = "1s"
  131. timeout = "10s"
  132. keepAlive = "60s"
  133. timer = 1000
  134. [httpClient.breaker]
  135. window = "10s"
  136. sleep = "100ms"
  137. bucket = 10
  138. ratio = 0.5
  139. request = 100