File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ It will run one more component called "scheduler" and ETCD.
157
157
You can update service providers for the scheduler as follows.
158
158
159
159
** common/scala/src/main/resources/reference.conf**
160
+
161
+ If you are using ElasticSearch (recommended) then replace ``` NoopDurationCheckerProvider ``` with ``` ElasticSearchDurationCheckerProvider ``` below.
160
162
```
161
163
whisk.spi {
162
164
ArtifactStoreProvider = org.apache.openwhisk.core.database.CouchDbStoreProvider
@@ -169,27 +171,13 @@ whisk.spi {
169
171
AuthenticationDirectiveProvider = org.apache.openwhisk.core.controller.BasicAuthenticationDirective
170
172
InvokerProvider = org.apache.openwhisk.core.invoker.FPCInvokerReactive
171
173
InvokerServerProvider = org.apache.openwhisk.core.invoker.FPCInvokerServer
172
- DurationCheckerProvider = org.apache.openwhisk.core.scheduler.queue.ElasticSearchDurationCheckerProvider
174
+ DurationCheckerProvider = org.apache.openwhisk.core.scheduler.queue.NoopDurationCheckerProvider
173
175
}
174
176
.
175
177
.
176
178
.
177
179
```
178
180
179
- #### Configure akka dispatcher for the scheduler
180
- Add a new dispatcher entry as follows.
181
-
182
- ** common/scala/src/main/resources/reference.conf**
183
- ```
184
- lease-service-dispatcher {
185
- executor = "thread-pool-executor"
186
- type = PinnedDispatcher
187
- }
188
- .
189
- .
190
- .
191
- ```
192
-
193
181
#### Enable the scheduler
194
182
- Make sure you enable the scheduler by configuring ` scheduler_enable ` .
195
183
You can’t perform that action at this time.
0 commit comments