Commit Graph

14 Commits (03b5fd4a1027a08ea5e81e22ab9c8d210b91a510)

Author SHA1 Message Date
Kevin Wan 5e969cbef0
fix golint issues, else blocks (#457) 4 years ago
ALMAS c77b8489d7
Update periodicalexecutor.go (#389) 4 years ago
Kevin Wan efa43483b2
fix potential data race in PeriodicalExecutor (#344)
* fix potential data race in PeriodicalExecutor

* add comment
4 years ago
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.
4 years ago
Kevin Wan 510e966982
simplify periodical executor background routine (#339) 4 years ago
Kevin Wan 10e3b8ac80
optimize code that fixes issue #317 (#338) 4 years ago
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.
4 years ago
Kevin Wan fc43876cc5
fix issue #317 (#331) 4 years ago
kevin 7d7cb836af fix issue #186 4 years ago
kevin 9d9399ad10 confirm addition after add called in periodical executor 4 years ago
kevin a3d7474ae0 fix data race 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 43be7b1e2a avoid race condition 4 years ago
kevin 7e3a369a8f initial import 4 years ago