chore: log when worldState time is behind real time + make sure client knows fissures are active #2562
@ -1338,7 +1338,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
||||
const timeSecs = getIdealTimeSatsifyingConstraints(constraints);
|
||||
if (constraints.length != 0) {
|
||||
const delta = Math.trunc(Date.now() / 1000) - timeSecs;
|
||||
if (delta != 0) {
|
||||
if (delta > 1) {
|
||||
logger.debug(
|
||||
`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