Commit Graph

19 Commits

Author SHA1 Message Date
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
Kevin Wan
802549ac7c
fix golint issues in core/executors (#484) 2021-02-19 12:03:05 +08:00
Kevin Wan
5e969cbef0
fix golint issues, else blocks (#457) 2021-02-09 13:50:21 +08:00
ALMAS
c77b8489d7
Update periodicalexecutor.go (#389) 2021-01-14 22:20:09 +08:00
Kevin Wan
efa43483b2
fix potential data race in PeriodicalExecutor (#344)
* fix potential data race in PeriodicalExecutor

* add comment
2021-01-03 20:56:17 +08:00
Kevin Wan
5bc01e4bfd
set guarded to false only on quitting background flush (#342)
* set guarded to false only on quitting background flush

* set guarded to false only on quitting background flush, cont.
2021-01-03 19:54:11 +08:00
Kevin Wan
510e966982
simplify periodical executor background routine (#339) 2021-01-03 14:02:51 +08:00
Kevin Wan
10e3b8ac80
optimize code that fixes issue #317 (#338) 2021-01-02 19:01:37 +08:00
weibobo
d643007c79
fix bug #317 (#335)
* fix bug #317.
* add counter for current task. If it's bigger then zero, do not quit background thread

* Revert "fix issue #317 (#331)"

This reverts commit fc43876cc5.
2021-01-02 18:04:04 +08:00
Kevin Wan
fc43876cc5
fix issue #317 (#331) 2021-01-01 13:24:28 +08:00
kevin
7d7cb836af fix issue #186 2020-11-06 12:25:48 +08:00
kevin
fe3739b7f3 fix golint issues 2020-10-16 11:13:55 +08:00
Klaus
4bdf5e4c90 chore: fix typo 2020-08-16 22:32:56 +08:00
kevin
9d9399ad10 confirm addition after add called in periodical executor 2020-08-14 11:50:01 +08:00
kevin
e7dd04701c add more tests 2020-08-14 11:24:56 +08:00
kevin
a3d7474ae0 fix data race 2020-08-14 11:03:16 +08:00
kevin
0a7e0cce77 update package reference 2020-08-08 16:40:10 +08:00
kevin
43be7b1e2a avoid race condition 2020-07-29 18:30:32 +08:00
kevin
7e3a369a8f initial import 2020-07-26 17:09:05 +08:00