diff --git a/.env.example b/.env.example index d3ddc31..00966ea 100644 --- a/.env.example +++ b/.env.example @@ -80,3 +80,5 @@ OPEN_API_USERS_URL=https://uniservice.server.hnxinyouhe.com/open/v1/users OPEN_API_USERS_KEY=CHANGE_ME # 用户同步源:mock(默认,e2e/本地)/ http(uniservice 真实接口) USER_SYNC_SOURCE=mock +# 用户同步定时间隔(毫秒):缺省 300000(5 分钟);生产建议 43200000(12 小时) +# SYNC_USERS_INTERVAL_MS=300000 diff --git a/.env.production.example-cn b/.env.production.example-cn index 8fa96a3..93e618e 100644 --- a/.env.production.example-cn +++ b/.env.production.example-cn @@ -75,3 +75,5 @@ OPEN_API_USERS_URL=https://uniservice.server.hnxinyouhe.com/open/v1/users OPEN_API_USERS_KEY=CHANGE_ME # 用户同步源:mock(默认)/ http(uniservice 真实接口——生产开) USER_SYNC_SOURCE=http +# 用户同步定时间隔(毫秒):生产每 12 小时一批;缺省 300000(5 分钟)为开发/演示节奏 +SYNC_USERS_INTERVAL_MS=43200000