diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-07-28 16:23:07 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-07-28 16:34:18 -0700 |
commit | e63cf6fa951b77819b846b8e52a5f89c404a2a19 (patch) | |
tree | f2b19eff81dd5c85e44e8704f061223689b8b9a4 | |
parent | 5221c25be67ee96a747c4e527436c0daa394a44e (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.
-rw-r--r-- | src/til.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |