Ethan Buchman
9e940b95ad
libs/autofile: bring back loops ( #2261 )
* libs/autofile: bring back loops
* changelog, version
6 years ago
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
6 years ago
Anton Kaliaev
b1cff0f9bf
[libs/autofile] create a Group ticker on Start
1) no need to stop the ticker in createTestGroup() method
2) now there is a symmetry - we start the ticker in OnStart(), we stop it
in OnStop()
Refs #2072
6 years ago
Anton Kaliaev
8ed99c2c13
exit from initSighupWatcher child goroutine
also, remove excessive log message
Refs #2072
6 years ago
Anton Kaliaev
b33f73eaf1
stop autofile and autogroup properly
NOTE: from the ticker#Stop documentation:
```
Stop does not close the channel, to prevent a read from the channel
succeeding incorrectly.
https://golang.org/src/time/tick.go?s=1318:1341#L35
```
Refs #2072
6 years ago
ValarDragon
a83eed104c
libs/cmn: Remove Tempfile, Tempdir, switch to ioutil variants ( #2114 )
Our Tempfile was just a wrapper on ioutil that panicked instead of error.
Our Tempdir was a less safe variant of ioutil's Tempdir.
7 years ago
Dev Ojha
f00b52b710
libs/autofile/group_test: Remove unnecessary logging ( #2100 )
Previously we logged `Testing for i <i>` for all i in [0,100).
This was unnecessary. This changes it to just log the value for i on
error messages, to reduce the unnecessary verbosity in log files.
7 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
eccdce11c5
make linter happy
7 years ago
Ethan Buchman
d55243f0e6
fix import paths
7 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
7 years ago