Skip to content

Commit 1bc4445

Browse files
committed
chore(worker): remove unused method
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent b86014a commit 1bc4445

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

nats.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,6 @@ func (w *Worker) Shutdown() error {
136136
return nil
137137
}
138138

139-
// Capacity for channel
140-
func (w *Worker) Capacity() int {
141-
return 0
142-
}
143-
144-
// Usage for count of channel usage
145-
func (w *Worker) Usage() int {
146-
return 0
147-
}
148-
149139
// Queue send notification to queue
150140
func (w *Worker) Queue(job queue.QueuedMessage) error {
151141
if atomic.LoadInt32(&w.stopFlag) == 1 {

0 commit comments

Comments
 (0)