Skip to content

Commit 07ea79a

Browse files
committed
feat(prosody): Enables connection resumption for jicofo and jvb.
1 parent 5341065 commit 07ea79a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

prosody/rootfs/defaults/conf.d/brewery.cfg.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ admins = {
1313
plugin_paths = { "/prosody-plugins/", "/prosody-plugins-custom", "/prosody-plugins-contrib" }
1414

1515
VirtualHost "{{ $JVB_XMPP_AUTH_DOMAIN }}"
16+
modules_enabled = {
17+
"smacks";
18+
}
1619
authentication = "internal_hashed"
1720
ssl = {
1821
key = "/config/certs/{{ $JVB_XMPP_AUTH_DOMAIN }}.key";
1922
certificate = "/config/certs/{{ $JVB_XMPP_AUTH_DOMAIN }}.crt";
2023
}
24+
smacks_hibernation_time = 15;
2125

2226
Component "{{ $JVB_XMPP_INTERNAL_MUC_DOMAIN }}" "muc"
2327
modules_enabled = {

prosody/rootfs/defaults/conf.d/jitsi-meet.cfg.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,10 @@ VirtualHost "{{ $XMPP_AUTH_DOMAIN }}"
263263
{{- if and $ENABLE_RECORDING_METADATA $ENABLE_AUTH (eq $PROSODY_AUTH_TYPE "jwt") $ENABLE_RECORDING }}
264264
"jibri_session";
265265
{{- end }}
266+
"smacks";
266267
}
267268
authentication = "internal_hashed"
269+
smacks_hibernation_time = 15;
268270

269271
{{ if or $ENABLE_RECORDING $ENABLE_TRANSCRIPTIONS }}
270272
VirtualHost "{{ $XMPP_HIDDEN_DOMAIN }}"

prosody/rootfs/defaults/conf.d/visitors.cfg.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,10 @@ VirtualHost 'v{{ $VISITOR_INDEX }}.{{ $VISITORS_XMPP_DOMAIN }}'
112112
VirtualHost '{{ $XMPP_AUTH_DOMAIN }}'
113113
modules_enabled = {
114114
'limits_exception';
115+
'smacks';
115116
}
116117
authentication = 'internal_hashed'
118+
smacks_hibernation_time = 15;
117119

118120
Component '{{ $VISITORS_MUC_PREFIX }}.v{{ $VISITOR_INDEX }}.{{ $VISITORS_XMPP_DOMAIN }}' 'muc'
119121
storage = 'memory'

0 commit comments

Comments
 (0)