File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,14 @@ See `config:config-from`."
100100
101101(defun %register-eventstream (system ev-config actor-context)
102102 (with-slots (eventstream) system
103- (setf eventstream (ev :make-eventstream actor-context ev-config))))
103+ (setf eventstream (apply #' ev:make-eventstream
104+ actor-context
105+ ev-config))))
104106
105107(defun %register-timeout-timer (system timer-config)
106108 (with-slots (timeout-timer) system
107- (setf timeout-timer (wt :make-wheel-timer timer-config))))
109+ (setf timeout-timer (apply #' wt:make-wheel-timer
110+ timer-config))))
108111
109112(defun %register-dispatchers (system dispatcher-config actor-context)
110113 " Creates a plist of dispatchers for the `:dispatchers` configuration section."
Original file line number Diff line number Diff line change 2121 (tw :wheel-resolution wheel)
2222 (length (tw ::slots wheel))))))
2323
24- (defun make-wheel-timer (config)
24+ (defun make-wheel-timer (&rest config)
2525 " Creates a new `wheel-timer`.
2626
2727`config` is a parameter for a list of key parameters including:
Original file line number Diff line number Diff line change 1313
1414(test make-wheel-timer
1515 " Tests making a wheel timer with config"
16- (let ((cut (make-wheel-timer ' ( :resolution 100 :max-size 100 ) )))
16+ (let ((cut (make-wheel-timer :resolution 100 :max-size 100 )))
1717 (unwind-protect
1818 (progn
1919 (is (not (null cut))))
2020 (shutdown-wheel-timer cut))))
2121
2222(test schedule
2323 " Tests executing a scheduled timer function."
24- (let ((cut (make-wheel-timer ' ( :resolution 100 :max-size 100 ) ))
24+ (let ((cut (make-wheel-timer :resolution 100 :max-size 100 ))
2525 (callback))
2626 (unwind-protect
2727 (progn
You can’t perform that action at this time.
0 commit comments