summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index bcff803d18..a899ff91fd 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -3904,16 +3904,12 @@ bool tagcache_update(void)
3904 return false; 3904 return false;
3905 3905
3906 queue_post(&tagcache_queue, Q_UPDATE, 0); 3906 queue_post(&tagcache_queue, Q_UPDATE, 0);
3907 gui_syncsplash(HZ*2, true, str(LANG_TAGCACHE_FORCE_UPDATE_SPLASH));
3908
3909 return false; 3907 return false;
3910} 3908}
3911 3909
3912bool tagcache_rebuild(void) 3910bool tagcache_rebuild()
3913{ 3911{
3914 queue_post(&tagcache_queue, Q_REBUILD, 0); 3912 queue_post(&tagcache_queue, Q_REBUILD, 0);
3915 gui_syncsplash(HZ*2, true, str(LANG_TAGCACHE_FORCE_UPDATE_SPLASH));
3916
3917 return false; 3913 return false;
3918} 3914}
3919 3915
@@ -3974,4 +3970,8 @@ int tagcache_get_commit_step(void)
3974{ 3970{
3975 return tc_stat.commit_step; 3971 return tc_stat.commit_step;
3976} 3972}
3973int tagcache_get_max_commit_step(void)
3974{
3975 return 8; /* To be written, better hard-coded here than in the UI */
3976}
3977 3977