Class: Tempest::Jetstream::Plan

Inherits:
Data
  • Object
show all
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

Instance Attribute Details

#filterObject (readonly)

Returns the value of attribute filter

Returns:

  • (Object)

    the current value of filter



12
13
14
# File 'lib/tempest/jetstream/subscription.rb', line 12

def filter
  @filter
end

#wanted_didsObject (readonly)

Returns the value of attribute wanted_dids

Returns:

  • (Object)

    the current value of wanted_dids



12
13
14
# File 'lib/tempest/jetstream/subscription.rb', line 12

def wanted_dids
  @wanted_dids
end