Other: Configure attachment pool size in vault

This commit is contained in:
James Houlahan
2022-11-10 20:06:36 +01:00
parent 112d79c2be
commit 223b14e556
4 changed files with 9 additions and 0 deletions

View File

@ -211,3 +211,8 @@ func (vault *Vault) SyncWorkers() int {
func (vault *Vault) SyncBuffer() int {
return vault.get().Settings.SyncBuffer
}
// SyncAttPool returns the size of the attachment pool.
func (vault *Vault) SyncAttPool() int {
return vault.get().Settings.SyncAttPool
}