1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-01 22:56:38 +02:00

add lock/unlock to example admin scripts

This commit is contained in:
Chris Lu 2020-04-23 18:41:48 -07:00
parent 913aa0f14e
commit 0c2248f83a

View file

@ -362,11 +362,13 @@ key = ""
[master.maintenance]
# periodically run these scripts are the same as running them from 'weed shell'
scripts = """
lock
ec.encode -fullPercent=95 -quietFor=1h
ec.rebuild -force
ec.balance -force
volume.balance -force
volume.fix.replication
unlock
"""
sleep_minutes = 17 # sleep minutes between each script execution