Drift_threshold setting for mnet

Drift_threshold setting for mnet

от Carlos Chiarella -
Number of replies: 0
My name is Carlos Chiarella and I am a developer. I have a question. Under the mnet folder there is a file called /mnet/xmlroc/client.php. Around the line 283, we have this code:


$threshold = get_config('mnet', 'drift_threshold');
if(empty($threshold)) {
// We decided 15 seconds was a pretty good arbitrary threshold
// for time-drift between servers, but you can customize this in
// the config_plugins table. It's not advised though.
set_config('drift_threshold', 15, 'mnet');
$threshold = 15;
}


I do not know understand why does it have to be 15 seconds? Can it be 60,120 or 300 seconds? Is there any reason for that?


Thanks in advance for your answers,


Carlos Chiarella