worker: Fix REQUEST_PERIOD read.

* src/cuirass/scripts/remote-worker (%request-period): Fix period read.
This commit is contained in:
Mathieu Othacehe 2021-04-14 12:00:11 +02:00
parent 29dc6015a8
commit f97bf6b75f
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 3 additions and 3 deletions

View File

@ -56,11 +56,11 @@
(define %stop-process?
(make-atomic-box #f))
;; The build request period.
;; The build request period in seconds.
(define %request-period
(make-parameter
(or (string->number
(getenv "REQUEST_PERIOD"))
(or (and=> (getenv "REQUEST_PERIOD")
string->number)
10)))
(define (show-help)