-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.env
More file actions
57 lines (51 loc) · 2.27 KB
/
Copy pathdefault.env
File metadata and controls
57 lines (51 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Matrix Token Configuration
# Prefix used when generating Matrix tokens
MATRIX_TOKEN_PREFIX=mt_
# RabbitMQ Configuration
# Name of the exchange used for publishing messages
MESSAGE_EXCHANGE_NAME=shortmesh.messages
# Name of the primary queue that processes messages
MESSAGE_QUEUE_NAME=shortmesh-messages-queue
# Name of the delay queue for deferred message processing
MESSAGE_DELAY_QUEUE_NAME=shortmesh-messages-delay-queue
# Name of the retry queue for failed messages
MESSAGE_RETRY_QUEUE_NAME=shortmesh-messages-retry-queue
# Initial retry delay in seconds (default: 5)
MESSAGE_INITIAL_RETRY_DELAY_SECONDS=5
# Exponential backoff factor (default: 2.0)
MESSAGE_EXPONENTIAL_BACKOFF_FACTOR=2.0
# Number of attempts before starting exponential backoff (default: 5)
MESSAGE_EXPONENTIAL_BACKOFF_START=5
# Maximum retry delay in minutes (default: 5)
MESSAGE_MAX_RETRY_DELAY_MINUTES=5
# Total message lifetime in hours before deletion (default: 24)
MESSAGE_MAX_TTL_HOURS=24
# Webhook Incoming Messages Configuration
# Exchange name for incoming messages to webhooks
WEBHOOK_INCOMING_EXCHANGE=contacts.topic
# Binding key for incoming messages routing
WEBHOOK_INCOMING_BINDING_KEY=contacts.topic.incoming_messages
# Queue name suffix for incoming messages (will be prefixed with username)
WEBHOOK_INCOMING_QUEUE_SUFFIX=_incoming_messages
# Add Device QR Code Configuration
# Exchange name for add device QR code exchanges
ADD_DEVICE_EXCHANGE=bridges.topic
# Binding key for add device QR code routing
ADD_DEVICE_BINDING_KEY=bridges.topic.add_new_device
# Queue name suffix for add device (will be prefixed with username)
ADD_DEVICE_QUEUE_SUFFIX=_add_new_device
# Webhook Worker Configuration
# Enable or disable webhook workers (default: true, set to false to disable)
WEBHOOK_WORKER_ENABLED=true
# Interval in seconds to check for new/removed users (default: 30)
WEBHOOK_REFRESH_INTERVAL_SECONDS=30
# Worker Configuration
# Enable or disable message workers (default: true, set to false to disable)
WORKER_ENABLED=true
# Number of concurrent worker threads (default: 2)
WORKER_COUNT=2
# Cleanup Worker Configuration
# Enable or disable cleanup worker (default: true, set to false to disable)
CLEANUP_ENABLED=true
# Interval in minutes between matrix token cleanup runs (default: 60)
MATRIX_TOKEN_CLEANUP_INTERVAL_MINUTES=60