mirror of https://github.com/OpenVidu/openvidu.git
ci: set the analytics reconciler interval with reconciler.interval
The server replaced fixer_interval with openvidu.analytics.reconciler.interval. yq merges both intervals into livekit.yaml instead of inserting lines with sed.pull/916/head
parent
9a5a41525b
commit
5c1b4ab985
|
|
@ -37,8 +37,7 @@ jobs:
|
||||||
ref-openvidu-local-deployment: development
|
ref-openvidu-local-deployment: development
|
||||||
# Batches every second and a reconciler run every 10 s, instead of 10 s and 60 s.
|
# Batches every second and a reconciler run every 10 s, instead of 10 s and 60 s.
|
||||||
pre_startup_commands: |
|
pre_startup_commands: |
|
||||||
sed -i 's/interval: 10s/interval: 1s/' livekit.yaml
|
yq e -i '.openvidu.analytics.interval = "1s" | .openvidu.analytics.reconciler.interval = "10s"' livekit.yaml
|
||||||
sed -i '/interval: 1s/a \ fixer_interval: 10s' livekit.yaml
|
|
||||||
yq e -i '.services.openvidu.image = "openvidu-server:integration"' docker-compose.yaml
|
yq e -i '.services.openvidu.image = "openvidu-server:integration"' docker-compose.yaml
|
||||||
- name: Install LiveKit CLI
|
- name: Install LiveKit CLI
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue