Set GOMAXPROCS=2 in mount_sample to help flush out issues like #4.
parent
53bae01f57
commit
38862e8650
|
@ -22,6 +22,7 @@ import (
|
|||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/jacobsa/bazilfuse"
|
||||
"github.com/jacobsa/fuse"
|
||||
|
@ -112,6 +113,10 @@ func getReadyFile() (f *os.File, err error) {
|
|||
func main() {
|
||||
flag.Parse()
|
||||
|
||||
// Allow parallelism in the file system implementation, to help flush out
|
||||
// bugs like https://github.com/jacobsa/fuse/issues/4.
|
||||
runtime.GOMAXPROCS(2)
|
||||
|
||||
// Grab the file to signal when ready.
|
||||
readyFile, err := getReadyFile()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue