summaryrefslogtreecommitdiff
path: root/src/til.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-07-28 16:23:07 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-07-28 16:34:18 -0700
commite63cf6fa951b77819b846b8e52a5f89c404a2a19 (patch)
treef2b19eff81dd5c85e44e8704f061223689b8b9a4 /src/til.c
parent5221c25be67ee96a747c4e527436c0daa394a44e (diff)
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.
Diffstat (limited to 'src/til.c')
-rw-r--r--src/til.c2
1 files changed, 1 insertions, 1 deletions
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);
}
© All Rights Reserved