Skip to content

Commit

Permalink
chore: update Elixir to 1.18 (#2223)
Browse files Browse the repository at this point in the history
  • Loading branch information
icehaunter authored Jan 13, 2025
1 parent c4e5d76 commit 278bc4d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
elixir 1.17.2-otp-27
erlang 27.0.1
elixir 1.18.1-otp-27
erlang 27.2
nodejs 20.18.1
pnpm 9.15.0
6 changes: 3 additions & 3 deletions packages/sync-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG ELIXIR_VERSION=1.17.2
ARG OTP_VERSION=27.0.1
ARG DEBIAN_VERSION=bookworm-20240722-slim
ARG ELIXIR_VERSION=1.18.1
ARG OTP_VERSION=27.2
ARG DEBIAN_VERSION=bookworm-20241223-slim

ARG BUILDER_IMAGE="hexpm/elixir:${ELIXIR_VERSION}-erlang-${OTP_VERSION}-debian-${DEBIAN_VERSION}"
ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,9 @@ defmodule Electric.ShapeCache.InMemoryStorage do
Enum.map(checkpoints, &elem(&1, 0))
end)
|> Enum.max()
|> then(fn max_chunk -> :ets.insert(table, {snapshot_end(), LogOffset.new(max_chunk)}) end)
|> then(fn max_chunk ->
:ets.insert(table, {snapshot_end(), LogOffset.new(max_chunk)})
end)

:ok
end
Expand Down

0 comments on commit 278bc4d

Please sign in to comment.