File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,22 @@ export const UpgradeScripts: CompanionStaticUpgradeScript<WingConfig>[] = [
2424 }
2525
2626 return {
27- updatedConfig : null ,
27+ updatedConfig : {
28+ ...props . config ,
29+ fadeUpdateRate : props . config ?. fadeUpdateRate ?? 50 ,
30+ statusPollUpdateRate : props . config ?. statusPollUpdateRate ?? 3000 ,
31+ variableUpdateRate : props . config ?. variableUpdateRate ?? 100 ,
32+ prefetchVariablesOnStartup : props . config ?. prefetchVariablesOnStartup ?? true ,
33+ startupVariableRequestChunkSize : props . config ?. startupVariableRequestChunkSize ?? 10 ,
34+ startupVariableRequestChunkWait : props . config ?. startupVariableRequestChunkWait ?? 100 ,
35+ requestTimeout : props . config ?. requestTimeout ?? 20 ,
36+ panicOnLostRequest : props . config ?. panicOnLostRequest ?? false ,
37+ subscriptionInterval : props . config ?. subscriptionInterval ?? 9000 ,
38+ enableOscForwarding : props . config ?. enableOscForwarding ?? false ,
39+ oscForwardingHost : props . config ?. oscForwardingHost ?? '' ,
40+ oscForwardingPort : props . config ?. oscForwardingPort ?? 0 ,
41+ debugMode : props . config ?. debugMode ?? false ,
42+ } ,
2843 updatedActions : [ ] ,
2944 updatedFeedbacks,
3045 }
You can’t perform that action at this time.
0 commit comments