Switch to using TwinProduction/gocache for caching service status
This commit is contained in:
1 parent
1209c477df
commit
641c2029f7
47 files changed
+6993
-18
No files matched your search
+10
@@ -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()))
|
||||
}
|
||||
Reference in new issue
Block a user