[PR #2337] [MERGED] fix: use cpu for field rendering #2226

Closed
opened 2026-02-26 20:32:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/2337
Author: @Mythie
Created: 12/17/2025
Status: Merged
Merged: 12/17/2025
Merged by: @dguyen

Base: mainHead: fix/use-cpu-for-field-rendering


📝 Commits (1)

  • 72603b3 fix: use cpu for field rendering

📊 Changes

2 files changed (+44 additions, -1 deletions)

View changed files

packages/lib/server-only/konva/skia-backend.ts (+42 -0)
📝 packages/lib/server-only/pdf/insert-field-in-pdf-v2.ts (+2 -1)

📄 Description

Goes in hand with the other change to use skia-canvas in
cpu mode when rendering pdf pages.

We're seeing ram usage slowly go up and believe that skia
is the culprit.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/2337 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 12/17/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/use-cpu-for-field-rendering` --- ### 📝 Commits (1) - [`72603b3`](https://github.com/documenso/documenso/commit/72603b3986b1b922db443d8aa182bc2b98e8af86) fix: use cpu for field rendering ### 📊 Changes **2 files changed** (+44 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `packages/lib/server-only/konva/skia-backend.ts` (+42 -0) 📝 `packages/lib/server-only/pdf/insert-field-in-pdf-v2.ts` (+2 -1) </details> ### 📄 Description Goes in hand with the other change to use skia-canvas in cpu mode when rendering pdf pages. We're seeing ram usage slowly go up and believe that skia is the culprit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:32:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#2226
No description provided.