雪花算法 YES/NO

This commit is contained in:
2025-01-02 22:42:28 +08:00
parent 8e07f8e7fd
commit c07e7f48eb
6 changed files with 183 additions and 1 deletions

View File

@@ -59,6 +59,11 @@ limit:
urlRate: 10 # 同一用户单url每秒限制次数
ipJumpLimit: 4 # 同一ip每分钟跳动次数
# 指定sharding-jdbc雪花算法的工作机器ID
snowflake:
datacenterId: 1
machineId: 3
spring:
main:
allow-circular-references: true