aboutsummaryrefslogtreecommitdiff
path: root/stmutil/context.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify code into default repo formatEuAndreh2025-01-221-39/+0
|
* remove unnecessary type parametersChris Wendt2022-06-081-1/+1
|
* BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-081-3/+3
|
* Use builtin eq var in rate and stmutilMatt Joiner2020-10-021-1/+1
| | | | In particular, in the rate limiter this gives a massive performance increase.
* Rework ContextDoneVar to not leak done ContextsMatt Joiner2019-11-071-1/+7
|
* Cache ContextDoneVarsMatt Joiner2019-11-051-5/+18
| | | | Note that nothing currently flushes them. Could probably flush them when they're done, and the early return will take care of the rest.
* Transfer project stewardship to anacrolixMatt Joiner2019-11-031-1/+1
| | | | See https://github.com/lukechampine/stm/issues/3#issuecomment-549087541.
* stmutil.ContextDoneVar: Return true Var if the context is already doneMatt Joiner2019-11-021-0/+3
| | | | This prevents needless races, such as in some of the rate limiting tests.
* Add stmutil containers and ContextDoneVarMatt Joiner2019-11-011-0/+17