conf.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. [property]
  2. # 结算开始分片index(方便debug)
  3. PendingMidStart = 0
  4. # redis中用户列表分片数
  5. PendingMidShard = 10000
  6. # 从redis取出用户列表的重试次数(防止一次失败,导致本次结算不完整)
  7. PendingMidRetry = 3
  8. # 计算周偏移,0:结算本周分值,1:计算上周分值...以此类推
  9. CalcWeekOffset = 1
  10. # 周期计算信用分的cron表达式
  11. CycleCron = "0 0 0 * * 1"
  12. # 计算分值并发数
  13. ConcurrencySize = 16
  14. [property.calc]
  15. K1 = 0.1
  16. K2 = 0.1
  17. K3 = 0.1
  18. K4 = 0.1
  19. K5 = 0.1
  20. InitLawfulScore = 10000
  21. InitWideScore = 0
  22. InitFriendlyScore = 5000
  23. InitBountyScore = 0
  24. InitCreativityScore = 0
  25. lawfulNegMax = 10000.0
  26. lawfulPosMax = 10000.0
  27. lawfulPosK = 0.002
  28. lawfulNegK1 = 0.03
  29. lawfulNegK2 = 0.02
  30. lawfulPosL = 200.0
  31. lawfulNegL = 200.0
  32. lawfulPosC1 = 1.0
  33. lawfulPosC2 = 1.0
  34. lawfulPosC3 = 1.0
  35. lawfulNegC1 = 1.0
  36. lawfulNegC2 = 5.0
  37. lawfulNegC3 = 5.0
  38. lawfulPosQ1 = 1.0
  39. lawfulPosQ2 = 1.0
  40. lawfulPosQ3 = 1.0
  41. lawfulNegQ1 = 1.0
  42. lawfulNegQ2 = 1.0
  43. lawfulNegQ3 = 1.0
  44. widePosMax = 15000.0
  45. widePosK = 0.004
  46. wideC1 = 2.0
  47. wideQ1 = 1.0
  48. wideC2 = 0.01
  49. wideQ2 = 1.0
  50. friendlyPosMax = 15000.0
  51. friendlyNegMax = 20000.0
  52. friendlyPosK = 0.004
  53. friendlyNegK = 0.004
  54. friendlyPosL = 200.0
  55. friendlyNegL = 200.0
  56. friendlyPosQ1 = 1.0
  57. friendlyPosC1 = 1.0
  58. friendlyPosQ2 = 1.0
  59. friendlyPosC2 = 2.0
  60. friendlyPosQ3 = 1.0
  61. friendlyPosC3 = 1.0
  62. friendlyNegQ1 = 1.0
  63. friendlyNegC1 = 150.0
  64. friendlyNegQ2 = 1.0
  65. friendlyNegC2 = 80.0
  66. friendlyNegQ3 = 1.0
  67. friendlyNegC3 = 10.0
  68. friendlyNegQ4 = 1.0
  69. friendlyNegC4 = 5.0
  70. bountyMax = 15000.0
  71. bountyK = 0.005
  72. bountyQ1 = 1.0
  73. bountyC1 = 15.0
  74. creativityPosMax = 7000.0
  75. creativityPosK = 0.004
  76. creativityPosL1 = 200.0
  77. creativityQ1 = 1.0
  78. creativityC1 = 0.1