flock belongs to the open file description. A child that another test forks while the handle is open keeps the description until it execs, so a lock can outlive drop() by milliseconds in a parallel run. The journal and history tests now retry the reopen for up to 10 s; production keeps refusing a held lock at once. 12 of 12 consecutive parallel runs of the desktop-core lib suite pass (3 of 5 failed before). Also: documented runtime config example, validated by a test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
21 lines
615 B
JSON
21 lines
615 B
JSON
{
|
|
"bind": "127.0.0.1:8081",
|
|
"api_key_file": "/etc/leleka/api-key",
|
|
"model": "qwen-iq3",
|
|
"shutdown_grace_s": 10,
|
|
"runtime": {
|
|
"address": "127.0.0.1:18766",
|
|
"token_env": "LELEKA_RUNTIME_TOKEN",
|
|
"tokenizer_dir": "/absolute/path/to/tokenizer",
|
|
"model": {
|
|
"family": "qwen4exp",
|
|
"architecture": "qwen4exp",
|
|
"weight_format": "gguf:iq3_s",
|
|
"artifact_digest": "sha256:80d5e3333801cedbca81a5c19c24ed6bb48fd56977acd190318f66b23a1766a3"
|
|
},
|
|
"mode": {"type": "mtp", "profile_id": "qwen4exp-kar-ple-mtp-v1"},
|
|
"max_context": 262144,
|
|
"max_output_tokens": 4096
|
|
}
|
|
}
|