This commit is contained in:
EntireTwix 2022-12-04 00:40:04 -08:00
parent a49a1730f7
commit a308f830c0

View file

@ -5,10 +5,10 @@
as CCash is very lightweight it can run on practically any device but here are some tips: as CCash is very lightweight it can run on practically any device but here are some tips:
* single core machines should toggle `MULTI_THREADED` to `false` * single core machines should toggle `MULTI_THREADED` to `false`
* if your server is sufficiently active, such that each time save frequency is met, changes having been made is highly likely then `CONSERVATIVE_DISK_SAVE` should be toggled to `false` * if your server is sufficiently active, such that each time save frequency is met, changes having been made is highly likely then `CONSERVATIVE_DISK_SAVE` should be toggled to `false`
* `MAX_LOG_SIZE` should be adjusted as it takes up the most memory usage/storage of the ledger's features at ~157 bytes in memory and ~43 bytes in disk at default settings, so 6678 logs per Mb of RAM. Setting to 0 will disable logs * `MAX_LOG_SIZE` should be adjusted as it takes up the most memory usage/storage of the ledger's features at 157 bytes in memory and 43 bytes in disk at default settings on the current version, so 6678 logs per Mb of RAM. Setting to 0 will disable logs
* with no users memory usage is 8.47 Mb * with no users memory usage is ~8.47 Mb
* Saving frequency (a runtime argument) being set to 0 will disable frequency saving and only save on close * saving frequency being set to 0 will disable frequency saving and only save on close
* make backups of your save files * make backups of your save files!
## Docker & Ansible ## Docker & Ansible
If you want to use the docker package, deploy information can be found [here](deploy.md) If you want to use the docker package, deploy information can be found [here](deploy.md)