No limit on cache size. ()

This commit is contained in:
Antonio Navarro Perez 2021-01-13 14:31:46 +01:00 committed by GitHub
parent ae289e99dd
commit 5a6ce96e18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions
cmd/distribyted

View file

@ -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