voucher/internal/biz/timeslicequery/README.md

14 lines
670 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# <p align="center">券状态同步</p>
* * *
### 主要工作
+ 券状态查询同步
* * *
### 规则说明
+ 按照时间分片处理按照2小时为一个时间片启用一个协程消费处理
+ 协程最大可同时运行指定数量设置为2
* * *
### 使用方式
+ 消费处理,按照时间范围上报消费
+ 每次请求按照时间片分别启用2个协程消费处理也就是每个请求可以同时启用2个协程消费处理
+ 请不要无休止的访问,请按照时间片进行访问,并且不要重复的时间片访问,增加系统负载,特殊发券日期量较大,建议缩短时间范围上报,多切分上报处理
* * *