Switch to using TwinProduction/gocache for caching service status

This commit is contained in:
TwinProduction committed 2020-12-30 01:08:20 -05:00
1 parent 1209c477df
commit 641c2029f7
47 files changed
+6993 -18

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package bolt
import (
"syscall"
)
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return syscall.Fdatasync(int(db.file.Fd()))
}