aboutsummaryrefslogtreecommitdiff
path: root/funcs.go
diff options
context:
space:
mode:
authorMatt Joiner <anacrolix@gmail.com>2020-09-30 18:12:44 +1000
committerMatt Joiner <anacrolix@gmail.com>2020-09-30 18:12:44 +1000
commit47e5cc608cded44f87c3120fd76fa31a9b8a8867 (patch)
tree24f618b1e37852423b2787325ceb40ff25221fbe /funcs.go
parentSleep by default again, and don't bother sleeping for less than 100 microseconds (diff)
downloadstm-47e5cc608cded44f87c3120fd76fa31a9b8a8867.tar.gz
stm-47e5cc608cded44f87c3120fd76fa31a9b8a8867.tar.xz
Don't sleep and only wake watchers if the variable value has changed
Diffstat (limited to 'funcs.go')
-rw-r--r--funcs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs.go b/funcs.go
index b7a2c29..59c0e74 100644
--- a/funcs.go
+++ b/funcs.go
@@ -23,7 +23,7 @@ var (
const (
profileFailedCommits = false
- sleepBetweenRetries = true
+ sleepBetweenRetries = false
)
func init() {