diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2024-06-28 21:09:37 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-07-12 16:44:54 +0100 |
commit | 707f4ef821f82eb772728f687e41afc9d6945f98 (patch) | |
tree | 80b98453af013e255637706214e4c4e764c72ed2 /.hgignore | |
parent | 55041ef9607c073bc5e1b431ec271e9c23200cb1 (diff) | |
download | unit-707f4ef821f82eb772728f687e41afc9d6945f98.tar.gz unit-707f4ef821f82eb772728f687e41afc9d6945f98.tar.bz2 |
status: Show list of loaded language modules
When querying the '/status' node in the control API, display the list of
currently loaded modules.
So we now get something like
{
"modules": {
"python": [
{
"version": "3.12.3",
"lib": "/opt/unit/modules/python.unit.so"
},
{
"version": "3.12.1",
"lib": "/opt/unit/modules/python-3.12.1.unit.so"
}
],
"wasm": {
"version": "0.1",
"lib": "/opt/unit/modules/wasm.unit.so"
},
"wasm-wasi-component": {
"version": "0.1",
"lib": "/opt/unit/modules/wasm_wasi_component.unit.so"
}
},
...
}
This can be useful for debugging to show exactly what modules Unit has
loaded _and_ from where.
Closes: https://github.com/nginx/unit/issues/1343
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '.hgignore')
0 files changed, 0 insertions, 0 deletions