timeout error

pull/225/head
Matthew Butterick 5 years ago
parent 85ac0cdfab
commit 8d210c6d13

@ -23,6 +23,10 @@
;; if a file is already in the cache, no need to hit it again.
;; this allows partially completed preheat jobs to resume.
(define to-thd (thread (λ ()
(sleep 4)
(message "preheat is taking a suspicious amount of time to start")
(message "commonly caused by a \"pollen.rkt\" file that doesn't work"))))
(define uncached-paths
(for/list ([path (in-directory starting-dir (λ (p) (not (special-path? p))))]
#:when (for/or ([proc (in-list (list preproc-source?
@ -33,6 +37,8 @@
#:unless (path-cached? path))
(path->complete-path path)))
(kill-thread to-thd)
(cond
[wants-dry-run? (for-each message uncached-paths)]
[(null? uncached-paths) (message "all cached files are up to date")]

@ -1 +1 @@
1589922989
1590358296

Loading…
Cancel
Save