Skip to content

Commit

Permalink
realtime: Bump up realtime version
Browse files Browse the repository at this point in the history
Bumps up Realtime version and also enables Janitor as it is required to keep tables organized
  • Loading branch information
filipecabaco committed Nov 26, 2024
1 parent ab95a72 commit b3df303
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/db/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions internal/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {}},
Expand Down Expand Up @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3df303

Please sign in to comment.