Skip to content

Commit 7577dc2

Browse files
committed
1.3.0pre
1 parent 847bd3e commit 7577dc2

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Go2RTC 1.9.13
88
- Alpine 3.19 (!) temporarily
99
- Python 3.13.11
10+
- Switch to mimalloc from Jemalloc
1011

1112
## 1.2.99 2025-09-12 <dave at tiredofit dot ca>
1213

Containerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,14 @@ LABEL \
1818
org.opencontainers.image.licenses="MIT"
1919

2020
ARG \
21-
HOMEASSISTANT_VERSION="2026.1.0" \
21+
HOMEASSISTANT_VERSION="2026.1.1" \
2222
HOMEASSISTANT_CLI_VERSION="4.45.0" \
2323
GO2RTC_VERSION="v1.9.13" \
2424
MIMALLOC_VERSION="v3.0.11" \
25-
JEMALLOC_VERSION="5.3.0" \
2625
PYTHON_VERSION="3.13.11" \
2726
GO2RTC_REPO_URL="https://github.com/AlexxIT/go2rtc" \
2827
HOMEASSISTANT_CLI_REPO_URL="https://github.com/home-assistant/cli" \
2928
HOMEASSISTANT_REPO_URL="https://github.com/home-assistant/core" \
30-
JEMALLOC_REPO_URL="https://github.com/jemalloc/jemalloc" \
3129
MIMALLOC_REPO_URL="https://github.com/microsoft/mimalloc" \
3230
HOMEASSISTANT_COMPONENTS=" \
3331
environment_canada, \
@@ -292,7 +290,7 @@ RUN echo "" && \
292290
requirements_custom.txt && \
293291
cp requirements_custom.txt /container/build/"${IMAGE_NAME/\//_}"/ && \
294292
export MAKEFLAGS="-j$(nproc) -l$(nproc)" && \
295-
LD_PRELOAD="/usr/local/lib/libjemalloc.so.2" \
293+
LD_PRELOAD="/usr/local/lib/libmimalloc.so.2" \
296294
MALLOC_CONF="background_thread:true,metadata_thp:auto,dirty_decay_ms:20000,muzzy_decay_ms:20000" \
297295
uv pip install \
298296
--compile \
@@ -375,7 +373,6 @@ RUN echo "" && \
375373
GO2RTC_BUILD_DEPS \
376374
HOMEASSISTANT_BUILD_DEPS \
377375
HOMEASSISTANTCLI_BUILD_DEPS \
378-
JEMALLOC_BUILD_DEPS \
379376
MIMALLOC_BUILD_DEPS \
380377
PYTHON_BUILD_DEPS \
381378
&& \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Below is the complete list of available options that can be used to customize yo
108108
| `CONFIG_PATH` | Configuration directory | `/config/` | |
109109
| `ENABLE_NGINX` | Enable Nginx Frontend webserver | `TRUE` | |
110110
| `ENABLE_BUILD_TOOLS` | Install development tools if having problems installing modules | `FALSE` | |
111-
| `ENABLE_JEMALLOC` | Enable high performance memory allocator | `TRUE` | |
111+
| `ENABLE_MIMALLOC` | Enable high performance memory allocator | `TRUE` | |
112112
| `HOMEASSISTANT_MODE` | Home Assistant Mode | `NORMAL` | |
113113
| `HOMEASSISTANT_USER` | Home Assistant User | `homeassistant` | |
114114
| `HOMEASSISTANT_GROUP` | Home Assistant Group | `homeassistant` | |

rootfs/container/defaults/20-homeassistant

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ BUILD_TOOLS_EXTRA_ALPINE=${BUILD_TOOLS_EXTRA_ALPINE:-""}
2828
CONFIG_PATH=${CONFIG_PATH:-"/config/"}
2929
CONFIG_CUSTOM_PATH=${CONFIG_CUSTOM_PATH:-"/config-custom/"}
3030
DATA_PATH=${DATA_PATH:-"/data/"}
31-
ENABLE_JEMALLOC=${ENABLE_JEMALLOC:-"TRUE"}
3231
ENABLE_BUILD_TOOLS=${ENABLE_BUILD_TOOLS:-"FALSE"}
32+
ENABLE_MIMALLOC=${ENABLE_MIMALLOC:-"TRUE"}
3333
HOMEASSISTANT_MODE=${HOMEASSISTANT_MODE:-"NORMAL"}
3434
HOMEASSISTANT_USER=${HOMEASSISTANT_USER:-"homeassistant"}
3535
LISTEN_PORT=${LISTEN_PORT:-"8123"}

rootfs/container/run/available/20-homeassistant/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ check_service_initialized init
1212

1313
liftoff
1414

15-
if var_true "${ENABLE_JEMALLOC}" ; then
15+
if var_true "${ENABLE_MIMALLOC}" ; then
1616
export LD_PRELOAD="/usr/local/lib/libmimalloc.so.2"
1717
export MALLOC_CONF="background_thread:true,metadata_thp:auto,dirty_decay_ms:20000,muzzy_decay_ms:20000"
1818
fi

0 commit comments

Comments
 (0)