Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconfiguring to not persist retained messages to disc. This effectiv… #54

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ services:
environment:
- EMQX_NAME=pontos-hub
- EMQX_HOST=127.0.0.1
# Retained messages will be persisted to disc to ensure they survive reboots etc
- EMQX_RETAINER__BACKEND__STORAGE_TYPE=disc
# Do NOT allow for subscribers to upgrade QoS
- EMQX_MQTT__UPGRADE_QOS=false
# Rate limit the number of published messages per client on the ws listener
- EMQX_LISTENERS__WS__DEFAULT__MESSAGES_RATE="1000/s"
- EMQX_LISTENERS__WS__DEFAULT__MESSAGES_RATE="5000/s"
# Lets disable the force_shutdown feature to avoid kicking out publishers with a high burst rate of messages
- EMQX_FORCE_SHUTDOWN__ENABLE=false
# Avoid queuing QoS0 messages
- EMQX_MQTT__MQUEUE_STORE_QOS0=false
# Configure logging
Expand Down Expand Up @@ -168,7 +168,7 @@ services:
- PG_CONNECTION_STRING=postgres://pontos_user:${PONTOS_DB_PASSWORD}@db:5432/pontos
- PG_TABLE_NAME=vessel_data.master
- PG_POOL_SIZE=3
- PARTITION_SIZE=1000
- PARTITION_SIZE=5000
- PARTITION_TIMEOUT=5
- DISCARD_NULL_VALUES=true
depends_on:
Expand Down
File renamed without changes.
40 changes: 0 additions & 40 deletions tests/11-test-setup-persistence.bats

This file was deleted.