fix buffering cache

This commit is contained in:
YouROK
2020-12-08 22:03:48 +03:00
parent 442c1fc27a
commit 212a60a893
12 changed files with 83 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
package torr
import (
"io"
"os"
"sort"
"time"
@@ -121,3 +122,7 @@ func Shutdown() {
sets.CloseDB()
os.Exit(0)
}
func WriteStatus(w io.Writer) {
bts.client.WriteStatus(w)
}