Skip to content

Derive the sleep time from the Tk settings (2nd attempt)#221

Merged
insolor merged 2 commits into
insolor:mainfrom
glglgl-de:set-sleep-interval
Jun 17, 2026
Merged

Derive the sleep time from the Tk settings (2nd attempt)#221
insolor merged 2 commits into
insolor:mainfrom
glglgl-de:set-sleep-interval

Conversation

@glglgl-de

Copy link
Copy Markdown
Contributor

Hi, it's me again. I found another thing which might be worth improving.

The Tk main loop defines its sleep time via the parameter "getbusywaitinterval".

We could adjust our waiting time to that value (whose default is 20 ms and which can be configured) instead of using 10 ms as a fixed value.

(It turned out that it is a bad idea to push to a closed PR and only then reopen it. Sorry for the mess.)

glglgl-de and others added 2 commits June 17, 2026 13:46
The Tk main loop defines its sleep time via the parameter "getbusywaitinterval".

Adjust our waiting time to that value.
@insolor insolor merged commit 0162171 into insolor:main Jun 17, 2026
12 checks passed
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