Skip to content

Commit bd9f4ba

Browse files
authored
Merge pull request #6173 from mailcow/staging
2024-11b
2 parents 4d688c5 + d10d64d commit bd9f4ba

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

data/conf/mysql/my.cnf

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ thread_cache_size = 8
2020
query_cache_type = 0
2121
query_cache_size = 0
2222
max_heap_table_size = 48M
23-
thread_stack = 128K
23+
thread_stack = 192K
2424
skip-host-cache
2525
skip-name-resolve
2626
log-warnings = 0

data/web/inc/functions.inc.php

+2
Original file line numberDiff line numberDiff line change
@@ -2515,6 +2515,8 @@ function reset_password($action, $data = null) {
25152515
':username' => $username
25162516
));
25172517

2518+
update_sogo_static_view($username);
2519+
25182520
$_SESSION['return'][] = array(
25192521
'type' => 'success',
25202522
'log' => array(__FUNCTION__, $action, $_data_log),

data/web/inc/functions.mailbox.inc.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -3351,7 +3351,12 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
33513351
'old_maildir' => $domain . '/' . $old_local_part,
33523352
'new_maildir' => $domain . '/' . $new_local_part
33533353
);
3354-
docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
3354+
if (getenv("CLUSTERMODE") == "replication") {
3355+
// broadcast to each dovecot container
3356+
docker('broadcast', 'dovecot-mailcow', 'exec', $exec_fields);
3357+
} else {
3358+
docker('post', 'dovecot-mailcow', 'exec', $exec_fields);
3359+
}
33553360

33563361
// rename username in sogo
33573362
$exec_fields = array(

0 commit comments

Comments
 (0)