Skip to content

background: avoid setting the same image twice in a row#409

Open
ammen99 wants to merge 1 commit intomasterfrom
do-not-set-same-background
Open

background: avoid setting the same image twice in a row#409
ammen99 wants to merge 1 commit intomasterfrom
do-not-set-same-background

Conversation

@ammen99
Copy link
Member

@ammen99 ammen99 commented Mar 15, 2026

We recheck for new backgrounds every background/cycle_timeout seconds but in case nothing changed, we don't have to update anything.

In my case I have a very high res background image and had cycle_timeout=2, which pretty much caused a lot of CPU usage all the time.

We recheck for new backgrounds every `background/cycle_timeout`
seconds but in case nothing changed, we don't have to update anything.
@ammen99 ammen99 force-pushed the do-not-set-same-background branch from b618124 to dd27877 Compare March 16, 2026 11:58
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