ref: 57dd23c7dd2fd0bfee408870fca89bd57610194c
parent: 20ded84985fbcfeddd0c8659eff9800c8d8c62eb
author: cancel <cancel@cancel.fm>
date: Wed Jan 1 10:52:12 EST 2020
Add comment
--- a/tui_main.c
+++ b/tui_main.c
@@ -2281,6 +2281,11 @@
doupdate();
double secs_to_d = ged_secs_to_deadline(&ged_state);
int new_timeout;
+ // These values are tuned to work OK with the normal scheduling behavior
+ // on Linux, Mac, and Windows. Of course, there's no guarantee about how
+ // the scheduler will work so if you are using a modified kernel or
+ // something, this might be sub-optimal. But there's not really much we
+ // can do about it!
if (strict_timing) {
if (secs_to_d < ms_to_sec(0.5)) {
new_timeout = 0;