From a1537f5cba5c9f25832a6f9a9aa9b2be50692811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filipe=20Caba=C3=A7o?= Date: Wed, 27 Nov 2024 02:49:38 +0000 Subject: [PATCH] fix(realtime): Bump up realtime version (#2921) --- internal/db/start/start.go | 1 + internal/start/start.go | 2 ++ pkg/config/constants.go | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/db/start/start.go b/internal/db/start/start.go index f0fc488d2..c4722f22f 100644 --- a/internal/db/start/start.go +++ b/internal/db/start/start.go @@ -256,6 +256,7 @@ func initRealtimeJob(host string) utils.DockerJob { "DNS_NODES=''", "RLIMIT_NOFILE=", "SEED_SELF_HOST=true", + "RUN_JANITOR=true", fmt.Sprintf("MAX_HEADER_LENGTH=%d", utils.Config.Realtime.MaxHeaderLength), }, Cmd: []string{"/app/bin/realtime", "eval", fmt.Sprintf(`{:ok, _} = Application.ensure_all_started(:realtime) diff --git a/internal/start/start.go b/internal/start/start.go index 8342a18b1..486f2a860 100644 --- a/internal/start/start.go +++ b/internal/start/start.go @@ -766,6 +766,7 @@ EOF "DNS_NODES=''", "RLIMIT_NOFILE=", "SEED_SELF_HOST=true", + "RUN_JANITOR=true", fmt.Sprintf("MAX_HEADER_LENGTH=%d", utils.Config.Realtime.MaxHeaderLength), }, ExposedPorts: nat.PortSet{"4000/tcp": {}}, @@ -1056,6 +1057,7 @@ EOF "API_JWT_SECRET=" + utils.Config.Auth.JwtSecret, "METRICS_JWT_SECRET=" + utils.Config.Auth.JwtSecret, "REGION=local", + "RUN_JANITOR=true", "ERL_AFLAGS=-proto_dist inet_tcp", }, Cmd: []string{ diff --git a/pkg/config/constants.go b/pkg/config/constants.go index 0a779fe63..57f4b3809 100644 --- a/pkg/config/constants.go +++ b/pkg/config/constants.go @@ -16,7 +16,7 @@ const ( vectorImage = "timberio/vector:0.28.1-alpine" supavisorImage = "supabase/supavisor:1.1.56" gotrueImage = "supabase/gotrue:v2.164.0" - realtimeImage = "supabase/realtime:v2.33.51" + realtimeImage = "supabase/realtime:v2.33.58" storageImage = "supabase/storage-api:v1.11.13" logflareImage = "supabase/logflare:1.4.0" // Append to JobImages when adding new dependencies below