Skip to content

Commit c41a3c4

Browse files
committed
Add documentation for new 'factory' Python config option
Closes: #155 Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
1 parent 2a144c5 commit c41a3c4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/configuration.rst

+10
Original file line numberDiff line numberDiff line change
@@ -4739,6 +4739,16 @@ you have:
47394739
47404740
The default is **application**.
47414741
4742+
* - **factory**
4743+
- Boolean:
4744+
when enabled, Unit treats **callable** as a factory.
4745+
4746+
The default is **false**.
4747+
4748+
**Note:** Unit does *not* support passing arguments to factories.
4749+
4750+
*(since 1.33.0)*
4751+
47424752
* - **home**
47434753
- String;
47444754
path to the app's

0 commit comments

Comments
 (0)