From c81ec214e2d6210852d9b0c40d783db4909f627d Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 30 Dec 2023 20:34:35 +0000 Subject: [PATCH] Missing thread busy indicator. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4710 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/ssb.js.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssb.js.c b/src/ssb.js.c index 417fe72c..3cdc970e 100644 --- a/src/ssb.js.c +++ b/src/ssb.js.c @@ -1529,7 +1529,9 @@ typedef struct _following_t static void _tf_ssb_following_work(uv_work_t* work) { following_t* following = work->data; + tf_ssb_record_thread_busy(following->ssb, true); following->out_following = tf_ssb_db_following_deep(following->ssb, following->ids, following->ids_count, following->depth); + tf_ssb_record_thread_busy(following->ssb, false); } static void _tf_ssb_following_after_work(uv_work_t* work, int status)