mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=6280
This commit is contained in:
parent
0dc474b128
commit
f35a0a67bd
|
@ -7323,3 +7323,15 @@ David 1 June 2005
|
|||
|
||||
client/
|
||||
client_types.C
|
||||
|
||||
David 1 June 2005
|
||||
- Scheduler: when send the client a delay request because
|
||||
it's contacted us before min_sendwork_interval,
|
||||
add an additional 1% to the delay request.
|
||||
This handles the case where the client's clock is
|
||||
slightly faster than the servers,
|
||||
and it repeatedly does an RPC slightly before it should
|
||||
(from John McLeod)
|
||||
|
||||
sched/
|
||||
handle_request.C
|
||||
|
|
|
@ -1074,7 +1074,11 @@ void process_request(
|
|||
);
|
||||
USER_MESSAGE um(buf, "low");
|
||||
reply.insert_message(um);
|
||||
reply.set_delay(config.min_sendwork_interval);
|
||||
|
||||
// the 1.01 is in case client's clock
|
||||
// is slightly faster than ours
|
||||
//
|
||||
reply.set_delay(1.01*config.min_sendwork_interval);
|
||||
}
|
||||
}
|
||||
if (ok_to_send_work) {
|
||||
|
|
Loading…
Reference in New Issue