Skip to content

Job runs time consumption error #89

@OpenDGPS

Description

@OpenDGPS

The calculation of "seconds since last update" in Progress.jsx can be wrong if the server and the users browser are in different timezones. Depends on the difference of these TZs an offset is added to the real time delta. This can also happen if the server is running locally on docker as in some setups UTC is use by default.

In this case the browser is running with UTC+2 and the container with UTC. In result it shows something like "36002 seconds since last update" if it is in reality only two seconds.

The server sends it's own datetime.now() in latentscope/server/jobs.py and the client gets the timestamp in web/src/components/Job/Progress.jsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions