Astarte.RPC.Config.amqp_prefetch_count

You're seeing just the function amqp_prefetch_count, go back to Astarte.RPC.Config module for more information.
Link to this function

amqp_prefetch_count(namespace \\ nil)

View Source

Specs

amqp_prefetch_count(Skogsra.Env.namespace()) ::
  {:ok, integer()} | {:error, binary()}

The prefetch count of the AMQP connection. A prefetch count of 0 means unlimited (not recommended).

Calling Astarte.RPC.Config.amqp_prefetch_count() will ensure the following:

  • Binding order: [:system, :config]
  • OS environment variable: "RPC_AMQP_PREFETCH_COUNT"
  • Type: :integer
  • Default: 300
  • Required: true
  • Cached: true