Skip to content

Fix worker health timestamp timezone handling - #67

Open
Musical-Lu wants to merge 1 commit into
SUNET:mainfrom
Musical-Lu:fix-health-timezone
Open

Musical-Lu wants to merge 1 commit into
SUNET:mainfrom
Musical-Lu:fix-health-timezone

Conversation

@Musical-Lu

Copy link
Copy Markdown

WorkerHealth.created_at is stored as a UTC datetime without timezone information. Calling timestamp() directly causes the value to be interpreted in the server's local timezone. On servers not using UTC, this can cause workers to incorrectly appear offline despite fresh health samples and continuously updating graphs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant