mirror of https://codeberg.org/pzp/pzp-gc.git
fix force immediately to also compact
This commit is contained in:
parent
97e6a10783
commit
8057d41538
|
@ -229,8 +229,10 @@ function initGC(peer, config) {
|
|||
* @param {CB<void>} cb
|
||||
*/
|
||||
function forceImmediately(cb) {
|
||||
debug('Force clean & compact immediately')
|
||||
cleanup(cb)
|
||||
debug('Force clean and compact immediately')
|
||||
cleanup(() => {
|
||||
compact(cb)
|
||||
})
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue