mirror of https://github.com/BOINC/boinc.git
- client: tweak [22842] so that system clock changes
of < 60 seconds are ignored svn path=/trunk/boinc/; revision=22897
This commit is contained in:
parent
a69e57d43c
commit
f903c7cfc4
|
@ -88,3 +88,10 @@ David 11 Jan 2011
|
|||
client/
|
||||
cs_apps.cpp
|
||||
pers_file_xfer.cpp
|
||||
|
||||
David 12 Jan 2011
|
||||
- client: tweak [22842] so that system clock changes
|
||||
of < 60 seconds are ignored
|
||||
|
||||
client/
|
||||
client_state.h
|
||||
|
|
|
@ -253,7 +253,7 @@ struct CLIENT_STATE {
|
|||
void clear_absolute_times();
|
||||
inline void set_now() {
|
||||
double x = dtime();
|
||||
if (x < now) {
|
||||
if (x < (now-60)) {
|
||||
clear_absolute_times();
|
||||
}
|
||||
now = x;
|
||||
|
|
Loading…
Reference in New Issue