Age | Commit message (Collapse) | Author |
|
|
|
|
|
- Always flush the value from the *first* .Set
- Don't bother calling time.Now() if we have a timestamp from the ticker
- If ticks are delayed for whatever reason, don't let that trip the
hang-detector
- Have better error messages from the hang detector
|
|
|
|
|
|
- Add a runtime-check to Progress to notice if we deadlocked or
forgot to call .Done().
- Add a runtime-check to Progress.Done() to panic if .Set() was never
called (instead of the old behavior of deadlocking).
- grep: Use `defer` when possible, to help remember to call .Done().
- grep: Always either call .Set() right away, or right before calling
.Done().
|
|
|
|
|
|
|
|
format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All edits to .go files are made by
`tools/bin/golangci-lint run --fix ./...`, not by me as a human.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To replace all of the ad-hoc hacks
|