build: 🔧 limit eleventy-image concurrency
Satori times out if it has to wait too long for an image to process and leaves the open graph image broken/incomplete. Limiting concurrent processes for the eleventy-image plugin prevents this.
This commit is contained in:
parent
3080efd63c
commit
31c99021c8
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ import markdownItFootnote from 'markdown-it-footnote';
|
|||
import markdownItImageFigures from 'markdown-it-image-figures';
|
||||
|
||||
const MARKDOWNIT_OPTIONS = { html: true, linkify: true, typographer: true };
|
||||
Image.concurrency = 4;
|
||||
|
||||
export default async function (eleventyConfig) {
|
||||
eleventyConfig.addPassthroughCopy('./src/css/prism.css');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue