Skip to content

Commit d53a256

Browse files
committed
Add 100ms timeout before making the first stat-call on unix systems.
Signed-off-by: Thomas Hallgren <[email protected]>
1 parent 9ea3c0f commit d53a256

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/fs/fuse_started_unix.go

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
)
1414

1515
func (fh *FuseHost) detectFuseStarted(ctx context.Context, started chan error) {
16+
time.Sleep(100 * time.Millisecond)
1617
var st unix.Stat_t
1718
if err := unix.Stat(fh.mountPoint, &st); err != nil {
1819
select {

0 commit comments

Comments
 (0)