diff --git a/CHANGELOG.md b/CHANGELOG.md index ca2484e..260375e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Added + +- **Performance optimizations** (Dockerfile) + - `dead time = 30` — disconnect idle clients after 30 seconds to free resources + - `large readwrite = yes` — improved performance for large file transfers + - `max xmit = 65535` — maximum packet size for better throughput + - `write cache size = 1048576` — 1MB write cache for improved write performance + ### Fixed - **Fixed chown syntax error in perms function** (samba.sh:122) diff --git a/Dockerfile b/Dockerfile index 7e226a4..c8873fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,6 +52,10 @@ RUN file="/etc/samba/smb.conf" && \ smb2 max write = 8388608 smb2 max trans = 8388608 smb2 max credits = 8192 + dead time = 30 + large readwrite = yes + max xmit = 65535 + write cache size = 1048576 vfs objects = catia recycle # Recycle bin