From e63cf6fa951b77819b846b8e52a5f89c404a2a19 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 28 Jul 2023 16:23:07 -0700 Subject: til: use til_module_render_limited() in "ref" builtin Since "ref" renders using arbitrary foreign contexts, it must explicitly limit their rendering concurrency to its own. --- src/til.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/til.c b/src/til.c index b4a903c..5d9a91f 100644 --- a/src/til.c +++ b/src/til.c @@ -235,7 +235,7 @@ static void _ref_render_fragment(til_module_context_t *context, til_stream_t *st } } - til_module_render(ctxt->ref, stream, ticks, fragment_ptr); + til_module_render_limited(ctxt->ref, stream, ticks, context->n_cpus, fragment_ptr); } -- cgit v1.2.3