Skip to content

Commit

Permalink
docs: add wiki how to install
Browse files Browse the repository at this point in the history
  • Loading branch information
yudhasubki committed Dec 11, 2023
1 parent 3f5db02 commit 722e29a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions blockqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,6 @@ func (q *BlockQueue[V]) ReadSubscriber(ctx context.Context, topic core.Topic, su
}

func (q *BlockQueue[V]) getJob(topic core.Topic) (*Job[V], bool) {
q.mtx.RLock()
defer q.mtx.RUnlock()

job, exist := q.jobs[topic.Name]
if !exist {
return &Job[V]{}, false
Expand Down
3 changes: 0 additions & 3 deletions job.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,6 @@ func (job *Job[V]) Enqueue(ctx context.Context, topic core.Topic, subscriberName
}

func (job *Job[V]) getListeners(subscriberId uuid.UUID) (*Listener[V], bool) {
job.mtx.RLock()
defer job.mtx.RUnlock()

listener, exist := job.listeners[subscriberId]
if !exist {
return listener, false
Expand Down

0 comments on commit 722e29a

Please sign in to comment.