[PubSub] subscription.on_error is called indefinitely without backoff #21521
Labels
api: pubsub
Issues related to the Pub/Sub API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
Steps to reproduce
Code example
When the subscription is not found,
on_error
is called without backoff (almost every ms). It might be a good idea to add not found error to this clause.google-cloud-ruby/google-cloud-pubsub/lib/google/cloud/pubsub/subscriber/stream.rb
Lines 287 to 289 in 24cf551
Full backtrace
The text was updated successfully, but these errors were encountered: