Skip to content

Commit

Permalink
Merge pull request #942 from Shopify/restrict-client-metadata-more
Browse files Browse the repository at this point in the history
Restrict client metadata update more
  • Loading branch information
eapache authored Sep 12, 2017
2 parents 1517403 + eda03de commit c20cf33
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,9 @@ func (client *client) backgroundMetadataUpdater() {
if specificTopics, err := client.Topics(); err != nil {
Logger.Println("Client background metadata topic load:", err)
break
} else if len(specificTopics) == 0 {
Logger.Println("Client background metadata update: no specific topics to update")
break
} else {
topics = specificTopics
}
Expand Down

0 comments on commit c20cf33

Please sign in to comment.