View Source Ravix.Documents.Conventions (ravix v0.6.3)

Document conventions structure

fields

Fields

  • max_number_of_requests_per_session: How many requests can be done in a single session
  • max_ids_to_catch: Maximum amount of ids that can be loaded
  • timeout: How much time until an api call times out
  • use_optimistic_concurrency: If optimistic concurrency should be used
  • max_length_of_query_using_get_url: Maximum lenght of an api call url
  • session_idle_ttl: How much time a session can live without interaction
  • disable_topology_update: if true, no automatic topology updates will be executed
  • allow_stale_indexes: List of indexes that can have stale reads

Link to this section Summary

Link to this section Types

@type t() :: %Ravix.Documents.Conventions{
  allowed_stale_indexes: [String.t()],
  disable_topology_update: boolean(),
  identity_parts_separator: String.t(),
  max_ids_to_catch: non_neg_integer(),
  max_length_of_query_using_get_url: non_neg_integer(),
  max_number_of_requests_per_session: non_neg_integer(),
  session_idle_ttl: non_neg_integer(),
  timeout: non_neg_integer(),
  use_optimistic_concurrency: boolean()
}