Commit 14da1ef
committed
(PE-37376) Initialize one JRuby instance first when initializing pool
Puppet may apply a "settings catalog" when it initializes. This will
check the filesystem and create any directories specified by settings
that do not already exist. This will cause errors if Puppet does need to
create directories and is initialized in parallel. To resolve this when
priming the pool we now instantiate one instance first before
initializing the remaining instances in parallel.1 parent 23d2d63 commit 14da1ef
File tree
1 file changed
+9
-5
lines changed- src/clj/puppetlabs/services/jruby_pool_manager/impl
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| |||
0 commit comments