Skip to content

Commit

Permalink
fix (api): code review #678
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin committed Jun 6, 2017
1 parent 90a912b commit 04df761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/api/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func DequeueWithContext(c context.Context, queueName string, value interface{})
s.DequeueWithContext(c, queueName, value)
}

//QueueLen returns the length of a queue
func QueueLen(queueName string) int {
if s == nil {
return 0
Expand Down

0 comments on commit 04df761

Please sign in to comment.