feat: added opts.git.cooldown to allow updating plugins on slow connections. Fixes #1656

This commit is contained in:
Folke Lemaitre 2024-07-23 13:31:20 +02:00
parent 839f9e78e7
commit d5686efbd0
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 20 additions and 1 deletions

View file

@ -41,6 +41,10 @@ M.defaults = {
rate = 2,
duration = 5 * 1000, -- in ms
},
-- Time in seconds to wait before running fetch again for a plugin.
-- Repeated update/check operations will not run again until this
-- cooldown period has passed.
cooldown = 0,
},
pkg = {
enabled = true,