shithub: orca

Download patch

ref: caa7de59ba7bf67e6e4f7a34703cc676a2943ab2
parent: f322b9fdaa14bc1dd322891198562b9fa5a8a412
author: cancel <cancel@cancel.fm>
date: Sun Dec 9 15:25:10 EST 2018

Increase sleep timeout aggression

--- a/tui_main.c
+++ b/tui_main.c
@@ -1144,11 +1144,11 @@
       } else if (secs_to_d < ms_to_sec(3.0)) {
         new_timeout = 1;
       } else if (secs_to_d < ms_to_sec(10.0)) {
-        new_timeout = 1;
+        new_timeout = 5;
       } else if (secs_to_d < ms_to_sec(50.0)) {
-        new_timeout = 10;
+        new_timeout = 15;
       } else {
-        new_timeout = 10;
+        new_timeout = 20;
       }
       if (new_timeout != cur_timeout) {
         wtimeout(stdscr, new_timeout);