refactor(queue_unbounded): inbountLen -> inboundLen (#3666)

This commit is contained in:
Ryan Russell 2022-09-14 12:12:45 -05:00 committed by GitHub
parent d54eb9966f
commit e22335ba78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ func (q *UnboundedQueue) Consume(fn func([]string)) {
if len(q.outbound) == 0 {
q.inboundLock.Lock()
inbountLen := len(q.inbound)
if inbountLen > 0 {
inboundLen := len(q.inbound)
if inboundLen > 0 {
t := q.outbound
q.outbound = q.inbound
q.inbound = t