mirror of
https://github.com/minio/minio.git
synced 2025-05-21 09:33:50 -04:00
fix: time() returned function not being called as expected in globalSync() (#17319)
This commit is contained in:
parent
817e85a3e0
commit
b8474295af
@ -340,6 +340,6 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er
|
|||||||
}
|
}
|
||||||
|
|
||||||
func globalSync() {
|
func globalSync() {
|
||||||
defer globalOSMetrics.time(osMetricSync)
|
defer globalOSMetrics.time(osMetricSync)()
|
||||||
syscall.Sync()
|
syscall.Sync()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user