Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

访问记录存储优化 #20

Merged
merged 4 commits into from
Jun 1, 2020
Merged

访问记录存储优化 #20

merged 4 commits into from
Jun 1, 2020

Conversation

jwma
Copy link
Owner

@jwma jwma commented May 29, 2020

close #17
close #18
close #19

jwma added 2 commits May 29, 2020 20:35
BREAKING CHANGE: 使用 migrationrequesthistory 对 v1.3.0 以前的访问请求数据进行迁移
使用 utils.GetIntQueryValue() 获取 size 参数,简化参数获取及处理的代码
@jwma jwma added the enhancement New feature or request label May 29, 2020
@jwma jwma added this to the v1.3.0 milestone May 29, 2020
@jwma jwma self-assigned this May 29, 2020
jwma added 2 commits June 1, 2020 15:02
- 简化访问记录保存时 id 的生成规则
- 更新删除短链接时删除关联的访问记录的逻辑
- 优化 v1.2.0 数据迁移逻辑
- 新增 v1.3.0 数据迁移逻辑

BREAKING CHANGE: 数据迁移后,单个短链接的访问记录数据不再按天保存而是统一保存在一个 zset 中
@jwma jwma merged commit 3208953 into master Jun 1, 2020
@jwma jwma deleted the feat/request-history branch June 1, 2020 07:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant