Skip to content

Commit b386fae

Browse files
authored
Merge pull request #2111 from PlatONnetwork/feature/bump-version-to-1.4.1
Feature/bump version to 1.4.1
2 parents 4c4c009 + b687017 commit b386fae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmd/utils/cmd.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ func monitorFreeDiskSpace(sigc chan os.Signal, path string, freeDiskSpaceCritica
109109
break
110110
}
111111
if freeSpace < freeDiskSpaceCritical {
112-
log.Error("Low disk space. Gracefully shutting down Geth to prevent database corruption.", "available", common.StorageSize(freeSpace))
112+
log.Error("Low disk space. Gracefully shutting down PlatON to prevent database corruption.", "available", common.StorageSize(freeSpace))
113113
sigc <- syscall.SIGTERM
114114
break
115115
} else if freeSpace < 2*freeDiskSpaceCritical {
116-
log.Warn("Disk space is running low. Geth will shutdown if disk space runs below critical level.", "available", common.StorageSize(freeSpace), "critical_level", common.StorageSize(freeDiskSpaceCritical))
116+
log.Warn("Disk space is running low. PlatON will shutdown if disk space runs below critical level.", "available", common.StorageSize(freeSpace), "critical_level", common.StorageSize(freeDiskSpaceCritical))
117117
}
118118
time.Sleep(60 * time.Second)
119119
}

cmd/utils/flags.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,9 @@ var (
260260
Usage: "Time interval to regenerate the trie cache journal",
261261
Value: ethconfig.Defaults.TrieCleanCacheRejournal,
262262
}
263-
SnapshotFlag = cli.BoolTFlag{
263+
SnapshotFlag = cli.BoolFlag{
264264
Name: "snapshot",
265-
Usage: `Enables snapshot-database mode (default = enable)`,
265+
Usage: `Enables snapshot-database mode`,
266266
}
267267
BloomFilterSizeFlag = cli.Uint64Flag{
268268
Name: "bloomfilter.size",

0 commit comments

Comments
 (0)