don't care if it's 1 second behind
All checks were successful
Build / build (pull_request) Successful in 1m5s
All checks were successful
Build / build (pull_request) Successful in 1m5s
This commit is contained in:
parent
d0792fbf8e
commit
62b9ed31bf
@ -1338,7 +1338,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
|||||||
const timeSecs = getIdealTimeSatsifyingConstraints(constraints);
|
const timeSecs = getIdealTimeSatsifyingConstraints(constraints);
|
||||||
if (constraints.length != 0) {
|
if (constraints.length != 0) {
|
||||||
const delta = Math.trunc(Date.now() / 1000) - timeSecs;
|
const delta = Math.trunc(Date.now() / 1000) - timeSecs;
|
||||||
if (delta != 0) {
|
if (delta > 1) {
|
||||||
logger.debug(
|
logger.debug(
|
||||||
`reported time is ${delta} seconds behind real time to satisfy selected constraints (${constraints.map(x => x.name).join(", ")})`
|
`reported time is ${delta} seconds behind real time to satisfy selected constraints (${constraints.map(x => x.name).join(", ")})`
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user