No limit on cache size. (#31)
This commit is contained in:
parent
ae289e99dd
commit
5a6ce96e18
3 changed files with 6 additions and 1 deletions
cmd/distribyted
|
@ -94,7 +94,7 @@ func load(configPath string, port int, fuseAllowOther bool) error {
|
|||
mountService := fuse.NewHandler(c, ss, fuseAllowOther)
|
||||
|
||||
sigChan := make(chan os.Signal)
|
||||
signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
|
||||
signal.Notify(sigChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
|
||||
|
||||
go func() {
|
||||
<-sigChan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue