aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/async/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/async/init.lua')
-rw-r--r--lua/mason-core/async/init.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/lua/mason-core/async/init.lua b/lua/mason-core/async/init.lua
index c79c6e42..cf1580a8 100644
--- a/lua/mason-core/async/init.lua
+++ b/lua/mason-core/async/init.lua
@@ -122,9 +122,11 @@ exports.run_blocking = function(suspend_fn, ...)
result = b
end, ...)
- if vim.wait(60000, function()
- return resolved == true
- end, 50) then
+ if
+ vim.wait(60 * 60 * 1000, function() -- the wait time is completely arbitrary
+ return resolved == true
+ end, 50)
+ then
if not ok then
error(result, 2)
end