Skip to content

Commit 4ba4f9e

Browse files
committed
minor #1534 upgrading mercure and specifying database options (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- upgrading mercure and specifying database options | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | None | License | MIT Our Mercure Bolt database is filling up - the history cleanup - https://mercure.rocks/docs/hub/config#bolt-adapter - doesn't seem to be happening, possibly due to missing options or an out-of-date mercure. Commits ------- 61196f5 upgrading mercure and specifying database options
2 parents 2265069 + 61196f5 commit 4ba4f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ux.symfony.com/mercure/.platform.app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build:
77

88
variables:
99
env:
10-
MERCURE_TRANSPORT_URL: bolt:///app/.local/database.db
10+
MERCURE_TRANSPORT_URL: bolt:///app/.local/mercure.db?size=1000&cleanup_frequency=0.5
1111
# Defined as platform.sh vars
1212
# MERCURE_PUBLISHER_JWT_KEY: ''
1313
# MERCURE_SUBSCRIBER_JWT_KEY: ''
@@ -33,4 +33,4 @@ hooks:
3333
set -e -x
3434
3535
curl -s https://get.symfony.com/cloud/configurator | (>&2 bash)
36-
curl -s -H 'Accept: application/octet-stream' -J -L "https://github.com/dunglas/mercure/releases/download/v0.13.0/mercure_0.13.0_Linux_x86_64.tar.gz" | tar -C /app/ -zxpf -
36+
curl -s -H 'Accept: application/octet-stream' -J -L "https://github.com/dunglas/mercure/releases/download/v0.15.9/mercure_Linux_x86_64.tar.gz" | tar -C /app/ -zxpf -

0 commit comments

Comments
 (0)