diff options
author | Max Romanov <max.romanov@nginx.com> | 2020-09-18 13:41:58 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2020-09-18 13:41:58 +0300 |
commit | f16ae01b12e612701f44c028f188d1ded58d0358 (patch) | |
tree | 4f27231e1e7fdebfa7df9b7c07eb183fa4d82b07 /src/nxt_application.h | |
parent | 6b9882fc142cab4a15a272991096ef4db260bf0f (diff) | |
download | unit-f16ae01b12e612701f44c028f188d1ded58d0358.tar.gz unit-f16ae01b12e612701f44c028f188d1ded58d0358.tar.bz2 |
Python: app module callable name configuration.
Now it is possible to specify the name of the application callable using
optional parameter 'callable'. Default value is 'application'.
This closes #290 issue on GitHub.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_application.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_application.h b/src/nxt_application.h index 3144dc3f..cb49a033 100644 --- a/src/nxt_application.h +++ b/src/nxt_application.h @@ -50,6 +50,7 @@ typedef struct { char *home; nxt_str_t path; nxt_str_t module; + char *callable; } nxt_python_app_conf_t; |