set the sampling slower (0.05 instead of 0.005) because racket takes too much CPU otherwise

This commit is contained in:
2026-04-10 08:55:31 +02:00
parent 466a94b814
commit 6d970b1f0f

View File

@@ -511,6 +511,10 @@
;(set! quiet-call (start-event-processing))
(define evt-cb-hash (make-hash))
;; TODO Make this more semaphore like..
;; EG callback from library.
(define (start-event-processing)
(thread (λ ()
(letrec ((f (λ ()
@@ -540,7 +544,7 @@
(set! waiting (- waiting 1))
)
)
(sleep 0.005)
(sleep 0.05)
(f))
))
(f)))