825 Star 2.8K Fork 1.3K

Discuz / DiscuzX

Merged
!217 防止并发任务、评分与道具的接口产生的刷分等问题

宅魂Kill:master Discuz:master

宅魂Kill Created on: 2019-07-01 00:22
缺陷/BUG
待续/need_more_work
  Tester 1157835 comsenzdiscuz 1578943409

注意,该修改需要Redis在2.6.12以上版本,否则可能出现错误。
由于dz的锁是使用的set添加的,而非add唯一性添加,故进行并发的话,会导致同时几个锁都会添加成功,故这种时候锁就会失效。
然后在任务、评分与道具添加了锁,防止重复完成。
同时修复了因为缓存名的大小写问题导致discuz_process无法使用缓存。

8 comments, 4 participants 567810 zhaisoul 1578927896 1214169 stackia 1578946413 1773794 laozhoubuluo 1594507411 5247157 oldhuhu 1578983196

Show action logs Hide action logs
oldhuhu removed label 审阅/reviewing 2021-02-05 11:57
oldhuhu merged Pull Request 2020-04-14 23:11
宅魂Kill push code 2020-04-14 23:04
宅魂Kill push code 2020-04-14 22:58
宅魂Kill push code 2020-04-14 22:16
宅魂Kill push code 2020-04-14 21:33
宅魂Kill push code 2020-04-14 19:11
宅魂Kill push code 2020-04-11 15:22
宅魂Kill push code 2020-03-29 11:06
宅魂Kill push code 2020-03-28 21:07
宅魂Kill push code 2020-03-28 20:35
宅魂Kill push code 2020-03-28 18:27
宅魂Kill push code 2020-03-24 16:57
宅魂Kill push code 2020-02-12 19:22
宅魂Kill push code 2020-02-12 19:14
oldhuhu added label need_more_code_work 2019-11-07 18:13
oldhuhu added label reviewing 2019-11-07 18:13
宅魂Kill updated description 2019-07-01 00:23
宅魂Kill assigned tester Discuz! 2019-07-01 00:22
宅魂Kill added label bug 2019-07-01 00:22
PHP
1
https://gitee.com/Discuz/DiscuzX.git
git@gitee.com:Discuz/DiscuzX.git
Discuz
DiscuzX
DiscuzX

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385