mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-20 13:30:46 +02:00
comparable to default version
Co-Authored-By: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -25,9 +25,14 @@ const (
|
||||
adminScriptDetectTickSecs = 60
|
||||
)
|
||||
|
||||
const defaultAdminScript = `volume.balance -apply
|
||||
const defaultAdminScript = `
|
||||
ec.balance -apply
|
||||
fs.log.purge -daysAgo=7
|
||||
volume.deleteEmpty -quietFor=24h -apply
|
||||
volume.balance -apply
|
||||
volume.fix.replication -apply
|
||||
volume.deleteEmpty -quietFor=24h -apply`
|
||||
s3.clean.uploads -timeAgo=24h
|
||||
`
|
||||
|
||||
var adminScriptTokenRegex = regexp.MustCompile(`'.*?'|".*?"|\S+`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user