Milo-Defrag: Notify how many slots were freed
This commit is contained in:
@@ -370,8 +370,9 @@ function page:defrag()
|
|||||||
local throttle = function() self.throttle:update() end
|
local throttle = function() self.throttle:update() end
|
||||||
|
|
||||||
self.throttle:enable()
|
self.throttle:enable()
|
||||||
context.storage:defrag(throttle)
|
local saved = context.storage:defrag(throttle)
|
||||||
self.throttle:disable()
|
self.throttle:disable()
|
||||||
|
self:notifyInfo(("Saved %d slots"):format(saved))
|
||||||
end
|
end
|
||||||
|
|
||||||
function page:applyFilter()
|
function page:applyFilter()
|
||||||
|
|||||||
Reference in New Issue
Block a user