Open svetlyak40wt opened 4 weeks ago
I've readed a code and found a suspicious code:
(defmethod taskmaster-thread-count :around ((self gserver-tmgr)) (length (slot-value self 'max-thread-count)))
The problem is that max-thread-count slot has INTEGER type and LENGTH will fail on integer value.
max-thread-count
INTEGER
LENGTH
Probably here a length of actors inside a router should be used?
Yeah, that's a bug. Should be just (slot-value self 'max-thread-count) I suppose (didn't look up the code). The Sento Router contains 'max-thread-count actors, so could be used directly (I think).
(slot-value self 'max-thread-count)
'max-thread-count
I've readed a code and found a suspicious code:
The problem is that
max-thread-count
slot hasINTEGER
type andLENGTH
will fail on integer value.Probably here a length of actors inside a router should be used?