Skip to content

Commit

Permalink
Allow interactions to return 401, make sure we never lock NoAuth queue
Browse files Browse the repository at this point in the history
  • Loading branch information
germanoeich committed Apr 6, 2022
1 parent bf07e66 commit e563ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func (q *RequestQueue) subscribe(ch *QueueChannel, path string, pathHash uint64)
ret404 = true
}

if resp.StatusCode == 401 {
if resp.StatusCode == 401 && !isInteraction(item.Req.URL.String()) && q.identifier != "NoAuth" {
// Permanently lock this queue
logger.WithFields(logrus.Fields{
"bucket": path,
Expand Down

0 comments on commit e563ff1

Please sign in to comment.