@@ -7,7 +7,9 @@ const schemaQueueOptions = Joi.object().keys({
7
7
continueWaitTimeout : Joi . number ( ) . min ( 0 ) . integer ( ) ,
8
8
executionTimeout : Joi . number ( ) . min ( 0 ) . integer ( ) ,
9
9
orphanedTimeout : Joi . number ( ) . min ( 0 ) . integer ( ) ,
10
- heartBeatInterval : Joi . number ( ) . min ( 0 ) . integer ( )
10
+ heartBeatInterval : Joi . number ( ) . min ( 0 ) . integer ( ) ,
11
+ sendProcessMessageFn : Joi . func ( ) ,
12
+ sendCancelMessageFn : Joi . func ( ) ,
11
13
} ) ;
12
14
13
15
const dbTypes = Joi . alternatives ( ) . try (
@@ -47,17 +49,21 @@ const schemaOptions = Joi.object().keys({
47
49
updateCompilerCacheKeepAlive : Joi . boolean ( ) ,
48
50
telemetry : Joi . boolean ( ) ,
49
51
allowUngroupedWithoutPrimaryKey : Joi . boolean ( ) ,
50
- orchestratorOptions : Joi . object ( ) . keys ( {
51
- redisPrefix : Joi . string ( ) . allow ( '' ) ,
52
- queryCacheOptions : Joi . object ( ) . keys ( {
53
- refreshKeyRenewalThreshold : Joi . number ( ) . min ( 0 ) . integer ( ) ,
54
- backgroundRenew : Joi . boolean ( ) ,
55
- queueOptions : schemaQueueOptions
56
- } ) ,
57
- preAggregationsOptions : {
58
- queueOptions : schemaQueueOptions
59
- }
60
- } ) ,
52
+ orchestratorOptions : Joi . alternatives ( ) . try (
53
+ Joi . func ( ) ,
54
+ Joi . object ( ) . keys ( {
55
+ redisPrefix : Joi . string ( ) . allow ( '' ) ,
56
+ queryCacheOptions : Joi . object ( ) . keys ( {
57
+ refreshKeyRenewalThreshold : Joi . number ( ) . min ( 0 ) . integer ( ) ,
58
+ backgroundRenew : Joi . boolean ( ) ,
59
+ queueOptions : schemaQueueOptions ,
60
+ externalQueueOptions : schemaQueueOptions
61
+ } ) ,
62
+ preAggregationsOptions : {
63
+ queueOptions : schemaQueueOptions
64
+ }
65
+ } )
66
+ ) ,
61
67
allowJsDuplicatePropsInSchema : Joi . boolean ( ) ,
62
68
scheduledRefreshContexts : Joi . func ( )
63
69
} ) ;
0 commit comments