perf: tweak uv readdir params for performance

This commit is contained in:
Steven Arcangeli 2023-08-20 18:31:17 +00:00
parent 866085407f
commit ffb89bf416
2 changed files with 3 additions and 3 deletions

View file

@ -290,7 +290,7 @@ M.list = function(url, column_defs, cb)
end
read_next()
---@diagnostic disable-next-line: param-type-mismatch
end, 100) -- TODO do some testing for this
end, 10000)
end
---@param bufnr integer

View file

@ -186,7 +186,7 @@ M.recursive_delete = function(entry_type, path, cb)
uv.fs_rmdir(path, cb)
end)
---@diagnostic disable-next-line: param-type-mismatch
end, 100) -- TODO do some testing for this
end, 10000)
end
---@param entry_type oil.EntryType
@ -255,7 +255,7 @@ M.recursive_copy = function(entry_type, src_path, dest_path, cb)
end
poll(cb)
---@diagnostic disable-next-line: param-type-mismatch
end, 100) -- TODO do some testing for this
end, 10000)
end)
end)
end