Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

Commit

Permalink
Moved initial Cache.Warmup() to earlier in the startup process, befor…
Browse files Browse the repository at this point in the history
…e the filesystem is mounted.
  • Loading branch information
stfinney committed Jul 20, 2016
1 parent 07da7ff commit 05e037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -86,6 +86,7 @@ func main() {
if err != nil {
log.Fatalf("KeywhizFs init fail: %v\n", err)
}
kwfs.Cache.Warmup()

mountOptions := &fuse.MountOptions{
AllowOther: true,
Expand Down Expand Up @@ -114,7 +115,6 @@ func main() {
}
}()

kwfs.Cache.Warmup()
server.Serve()
logger.Infof("Exiting")
}
Expand Down

0 comments on commit 05e037d

Please sign in to comment.