cmd/utils: do not check free disk space in dev mode (#27281)

pull/27311/head
Shude Li 1 year ago committed by GitHub
parent 99394adcb8
commit 3223950a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmd/utils/cmd.go

@ -118,6 +118,9 @@ func StartNode(ctx *cli.Context, stack *node.Node, isConsole bool) {
}
func monitorFreeDiskSpace(sigc chan os.Signal, path string, freeDiskSpaceCritical uint64) {
if path == "" {
return
}
for {
freeSpace, err := getFreeDiskSpace(path)
if err != nil {

Loading…
Cancel
Save