feat: added config option for process timeout

This commit is contained in:
Folke Lemaitre 2022-11-30 23:38:45 +01:00
parent f2072f0158
commit bd2d64230f
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 44 additions and 12 deletions

View file

@ -18,6 +18,7 @@ M.defaults = {
-- defaults for `Lazy log`
-- log = { "-10" }, -- last 10 commits
log = { "--since=1 days ago" }, -- commits from the last 3 days
timeout = 120, -- processes taking over 2 minutes will be killed
},
-- Any plugin spec that contains one of the patterns will use your
-- local repo in the projects folder instead of fetchig it from github