Skip to content

Commit 5ec8d53

Browse files
SantjagoCorkezmnaberez
authored andcommitted
Update options.py
Expose `numprocs` process setting to command line
1 parent b352ed4 commit 5ec8d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ def get(section, opt, *args, **kwargs):
952952

953953
for process_num in range(numprocs_start, numprocs + numprocs_start):
954954
expansions = common_expansions
955-
expansions.update({'process_num': process_num})
955+
expansions.update({'process_num': process_num, 'numprocs': numprocs})
956956
expansions.update(self.environ_expansions)
957957

958958
environment = dict_of_key_value_pairs(

0 commit comments

Comments
 (0)