mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Reduce the default speeds for messaging
This commit is contained in:
parent
0660e26186
commit
2a38a6beb8
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@ define ('MESSAGE_SHORTLENGTH', 300);
|
||||||
define ('MESSAGE_WINDOW', true); // We are in a message window (so don't pop up a new one!)
|
define ('MESSAGE_WINDOW', true); // We are in a message window (so don't pop up a new one!)
|
||||||
|
|
||||||
if (!isset($CFG->message_contacts_refresh)) { // Refresh the contacts list every 30 seconds
|
if (!isset($CFG->message_contacts_refresh)) { // Refresh the contacts list every 30 seconds
|
||||||
$CFG->message_contacts_refresh = 30;
|
$CFG->message_contacts_refresh = 60;
|
||||||
}
|
}
|
||||||
if (!isset($CFG->message_chat_refresh)) { // Look for new comments every 5 seconds
|
if (!isset($CFG->message_chat_refresh)) { // Look for new comments every 5 seconds
|
||||||
$CFG->message_chat_refresh = 5;
|
$CFG->message_chat_refresh = 15;
|
||||||
}
|
}
|
||||||
if (!isset($CFG->message_offline_time)) {
|
if (!isset($CFG->message_offline_time)) {
|
||||||
$CFG->message_offline_time = 300;
|
$CFG->message_offline_time = 300;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue