diff options
Diffstat (limited to 'weed/command/filer_copy.go')
| -rw-r--r-- | weed/command/filer_copy.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go index 0e9e10ee3..b6ac7854b 100644 --- a/weed/command/filer_copy.go +++ b/weed/command/filer_copy.go @@ -14,6 +14,7 @@ import ( "sync" "time" + "github.com/chrislusf/seaweedfs/weed/util/grace" "google.golang.org/grpc" "github.com/chrislusf/seaweedfs/weed/operation" @@ -134,7 +135,7 @@ func runCopy(cmd *Command, args []string) bool { copy.ttlSec = int32(ttl.Minutes()) * 60 if *cmdCopy.IsDebug { - util.SetupProfiling("filer.copy.cpu.pprof", "filer.copy.mem.pprof") + grace.SetupProfiling("filer.copy.cpu.pprof", "filer.copy.mem.pprof") } fileCopyTaskChan := make(chan FileCopyTask, *copy.concurrenctFiles) |
