perf: tweak uv readdir params for performance
This commit is contained in:
parent
866085407f
commit
ffb89bf416
2 changed files with 3 additions and 3 deletions
|
|
@ -290,7 +290,7 @@ M.list = function(url, column_defs, cb)
|
||||||
end
|
end
|
||||||
read_next()
|
read_next()
|
||||||
---@diagnostic disable-next-line: param-type-mismatch
|
---@diagnostic disable-next-line: param-type-mismatch
|
||||||
end, 100) -- TODO do some testing for this
|
end, 10000)
|
||||||
end
|
end
|
||||||
|
|
||||||
---@param bufnr integer
|
---@param bufnr integer
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,7 @@ M.recursive_delete = function(entry_type, path, cb)
|
||||||
uv.fs_rmdir(path, cb)
|
uv.fs_rmdir(path, cb)
|
||||||
end)
|
end)
|
||||||
---@diagnostic disable-next-line: param-type-mismatch
|
---@diagnostic disable-next-line: param-type-mismatch
|
||||||
end, 100) -- TODO do some testing for this
|
end, 10000)
|
||||||
end
|
end
|
||||||
|
|
||||||
---@param entry_type oil.EntryType
|
---@param entry_type oil.EntryType
|
||||||
|
|
@ -255,7 +255,7 @@ M.recursive_copy = function(entry_type, src_path, dest_path, cb)
|
||||||
end
|
end
|
||||||
poll(cb)
|
poll(cb)
|
||||||
---@diagnostic disable-next-line: param-type-mismatch
|
---@diagnostic disable-next-line: param-type-mismatch
|
||||||
end, 100) -- TODO do some testing for this
|
end, 10000)
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue