nuriel77 / hornet-playbook

Ansible Playbook for Hornet IOTA Full Node
MIT License
67 stars 11 forks source link

Pruning and Log Rotation #25

Closed ssw22 closed 3 years ago

ssw22 commented 3 years ago

Is this set in your playbook to keep my 30gb ssd from filling up?

nuriel77 commented 3 years ago

I think this was https://github.com/nuriel77/hornet-playbook/blob/master/group_vars/all/hornet-config-file.yml#L65 The DB will prune at so many mile-stones. This will not guarantee max size, but can approximately limit the size of the DB.

To set a different value you can use the variable files from the hornet-playbook, see https://github.com/nuriel77/hornet-playbook#overwrite-hornet-config

You can also configure the /var/lib/hornet/config.json directly but I think it is better to work via the hornet-playbook variables.

nuriel77 commented 3 years ago

Closing for inactivity