Skip to content

Use bools instead of time values for SysCommandWorker attributes#4462

Merged
svartkanin merged 1 commit into
archlinux:masterfrom
correctmost:cm/remove-time-usage
Apr 22, 2026
Merged

Use bools instead of time values for SysCommandWorker attributes#4462
svartkanin merged 1 commit into
archlinux:masterfrom
correctmost:cm/remove-time-usage

Conversation

@correctmost
Copy link
Copy Markdown
Contributor

PR Description:

Only the truthiness of the time values was being evaluated. This also reduces the usage of time.time(), which makes the codebase more resilient against clock drift issues.

Tests and Checks

  • I have tested the code!

Only the truthiness of the time values was being evaluated. This
also reduces the usage of time.time(), which makes the codebase
more resilient against clock drift issues.
@correctmost correctmost requested a review from Torxed as a code owner April 22, 2026 08:58
@svartkanin svartkanin merged commit 00834f9 into archlinux:master Apr 22, 2026
9 checks passed
@correctmost correctmost deleted the cm/remove-time-usage branch April 22, 2026 11:34
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.

2 participants