Reduce the default speeds for messaging

This commit is contained in:
moodler 2005-04-05 07:31:13 +00:00
parent 0660e26186
commit 2a38a6beb8

View file

@ -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;