Switch swap threshold default to absolute 3048 MB and disable percent threshold by default
This commit is contained in:
@@ -110,6 +110,19 @@ sudo ufw allow from <ip-клиента-opencode> to any port 8731 proto tcp
|
||||
sudo systemctl restart ollama
|
||||
```
|
||||
|
||||
## Порог swap
|
||||
|
||||
По умолчанию агент сравнивает общий объём **используемого** swap с конкретным размером:
|
||||
`swap_threshold_mb = 3048`. Процентный режим выключен (`swap_threshold_percent = null`).
|
||||
|
||||
Чтобы оставить прежнее процентное поведение, задайте, например:
|
||||
```json
|
||||
{
|
||||
"swap_threshold_percent": 25,
|
||||
"swap_threshold_mb": null
|
||||
}
|
||||
```
|
||||
|
||||
## Проверка агента на сервере
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user