Astarte.RPC.Config.amqp_queue_max_length

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

amqp_queue_max_length(namespace \\ nil)

View Source

Specs

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

Max length of the server AMQP queue. If 0 the queue will be unbounded, otherwise it will be limited to tha t length and new publishes will be dropped while the queue is full. WARNING: changing this value requires manually deleting the queue

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

  • Binding order: [:system, :config]
  • OS environment variable: "RPC_AMQP_QUEUE_MAX_LENGTH"
  • Type: :integer
  • Default: 0
  • Required: false
  • Cached: true