summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index b3df043609..61b564820e 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1913,7 +1913,9 @@ static int database_callback(int btn, struct gui_synclist *lists)
1913 simplelist_addline(SIMPLELIST_ADD_LINE, "Commit delayed: %s", 1913 simplelist_addline(SIMPLELIST_ADD_LINE, "Commit delayed: %s",
1914 stat->commit_delayed ? "Yes" : "No"); 1914 stat->commit_delayed ? "Yes" : "No");
1915 1915
1916 1916 simplelist_addline(SIMPLELIST_ADD_LINE, "Queue length: %d",
1917 stat->queue_length);
1918
1917 if (synced) 1919 if (synced)
1918 { 1920 {
1919 synced = false; 1921 synced = false;
@@ -1937,7 +1939,11 @@ static bool dbg_tagcache_info(void)
1937 simplelist_info_init(&info, "Database Info", 8, NULL); 1939 simplelist_info_init(&info, "Database Info", 8, NULL);
1938 info.action_callback = database_callback; 1940 info.action_callback = database_callback;
1939 info.hide_selection = true; 1941 info.hide_selection = true;
1940 info.timeout = TIMEOUT_NOBLOCK; 1942
1943 /* Don't do nonblock here, must give enough processing time
1944 for tagcache thread. */
1945 /* info.timeout = TIMEOUT_NOBLOCK; */
1946 info.timeout = 1;
1941 tagcache_screensync_enable(true); 1947 tagcache_screensync_enable(true);
1942 return simplelist_show_list(&info); 1948 return simplelist_show_list(&info);
1943} 1949}