Class: Tempest::Jetstream::Plan
- Inherits:
-
Data
- Object
- Data
- Tempest::Jetstream::Plan
- Defined in:
- lib/tempest/jetstream/subscription.rb
Overview
Decides whether the Jetstream subscription can use server-side wantedDids filtering or has to fall back to a firehose-plus-client-side-filter arrangement. Jetstream caps wantedDids at 10000 DIDs per subscription, so anyone following more than that has to receive the full stream and drop uninteresting events locally.
Instance Attribute Summary collapse
-
#filter ⇒ Object
readonly
Returns the value of attribute filter.
-
#wanted_dids ⇒ Object
readonly
Returns the value of attribute wanted_dids.
Instance Attribute Details
#filter ⇒ Object (readonly)
Returns the value of attribute filter
12 13 14 |
# File 'lib/tempest/jetstream/subscription.rb', line 12 def filter @filter end |
#wanted_dids ⇒ Object (readonly)
Returns the value of attribute wanted_dids
12 13 14 |
# File 'lib/tempest/jetstream/subscription.rb', line 12 def wanted_dids @wanted_dids end |