db

type: meya.db.integration
class: DbIntegration
path: /meya/db/integration.py
signature: -

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

enabled

bool

true

Enables the integration, allowing it to process events and HTTP entries

filter

IntegrationFilter

rx_sub: true
rx: true
tx: true
tx_pub: true

verify_token

str

null

max_attachment_size

int

null

Controls maximum attachment size supported by the integration in bytes

presence_queue

DbQueueConfigSpec

cache_maxlen: 10000

presence_ledger

PresenceLedgerConfigSpec

cache_maxlen: 200
cache_ttl: 3m
persist: false

presence_device_view

PresenceHashViewConfigSpec

cache_ttl: 3m
persist: false

ws_queue

DbQueueConfigSpec

cache_maxlen: 10000

ws_ledger

WsLedgerConfigSpec

cache_maxlen: 2
cache_ttl: 3m
persist: false

Examples

Basic

type: meya.db.integration

Full

type: meya.db.integration
spec: '?'
enabled: false
filter:
  rx_sub: STRING
  rx: STRING
  tx: STRING
  tx_pub: STRING
verify_token: STRING
max_attachment_size: 123
presence_queue:
  cache_maxlen: 123
presence_ledger:
  cache_maxlen: 123
  cache_ttl:
  persist: false
presence_device_view:
  cache_ttl:
  persist: false
ws_queue:
  cache_maxlen: 123
ws_ledger:
  cache_maxlen: 123
  cache_ttl:
  persist: false