mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Revert async package refresh
Unnecessary complexity for negligible gain.
This commit is contained in:
@ -13,11 +13,7 @@
|
|||||||
(condition-case-unless-debug ex
|
(condition-case-unless-debug ex
|
||||||
(progn
|
(progn
|
||||||
(message "Refreshing package archives")
|
(message "Refreshing package archives")
|
||||||
(package-refresh-contents (not doom-debug-mode))
|
(package-refresh-contents)
|
||||||
(cl-loop for i from 0
|
|
||||||
while (and package--downloads-in-progress
|
|
||||||
(<= i 10))
|
|
||||||
do (sleep-for 0 250))
|
|
||||||
(persistent-soft-store 'last-pkg-refresh t "emacs" 900))
|
(persistent-soft-store 'last-pkg-refresh t "emacs" 900))
|
||||||
('error
|
('error
|
||||||
(doom-refresh-clear-cache)
|
(doom-refresh-clear-cache)
|
||||||
|
Reference in New Issue
Block a user