(queue-set-limit! queue limit)
This procedure sets a maximum number of messages limit that the FIFO queue is allowed to hold. Note: A limit of 0 identifies a queue as “unlimited”.
The queue limit is set.
unspecified (ok)
> (define q (queue-create))
q
> (queue-put! q "item")
ok
> (queue-set-limit! q 120)
ok
> (queue-limit q)
120
>