MDL-65657 message: revert polling timeout back to old algorithm
This commit is contained in:
@@ -855,6 +855,12 @@ function core_message_standard_after_main_region_html() {
|
||||
'id' => $USER->id,
|
||||
'midnight' => usergetmidnight(time())
|
||||
],
|
||||
// The starting timeout value for message polling.
|
||||
'messagepollmin' => $CFG->messagingminpoll ?? MESSAGE_DEFAULT_MIN_POLL_IN_SECONDS,
|
||||
// The maximum value that message polling timeout can reach.
|
||||
'messagepollmax' => $CFG->messagingmaxpoll ?? MESSAGE_DEFAULT_MAX_POLL_IN_SECONDS,
|
||||
// The timeout to reset back to after the max polling time has been reached.
|
||||
'messagepollaftermax' => $CFG->messagingtimeoutpoll ?? MESSAGE_DEFAULT_TIMEOUT_POLL_IN_SECONDS,
|
||||
'contacts' => [
|
||||
'sectioncontacts' => [
|
||||
'placeholders' => array_fill(0, $contactscount > 50 ? 50 : $contactscount, true)
|
||||
|
||||
Reference in New Issue
Block a user