Skip to content

[Backport stable34] Fix TypeError when saving integer CPU core count in global settings#384

Merged
R0Wi merged 1 commit into
stable34from
backport-376-to-stable34
May 22, 2026
Merged

[Backport stable34] Fix TypeError when saving integer CPU core count in global settings#384
R0Wi merged 1 commit into
stable34from
backport-376-to-stable34

Conversation

@R0Wi
Copy link
Copy Markdown
Contributor

@R0Wi R0Wi commented May 22, 2026

Backport b6be7dc from #376

…376)

* Initial plan

* fix: cast GlobalSettings values to string before calling setValueString

Agent-Logs-Url: https://github.com/R0Wi-DEV/workflow_ocr/sessions/e5743218-a210-416d-b782-64fc77d0fb16

Co-authored-by: R0Wi <19730957+R0Wi@users.noreply.github.com>

* refactor: use setValueInt/getValueInt for GlobalSettings integer properties

Agent-Logs-Url: https://github.com/R0Wi-DEV/workflow_ocr/sessions/ca3e8666-830a-42ce-9ae2-c2dbd88e3dc9

Co-authored-by: R0Wi <19730957+R0Wi@users.noreply.github.com>

* fix: Add DB migration for processorCount and timeout

* refactor: Update GlobalSettings handling to convert empty inputs to null and improve type management

* Exclude migrations from PSALM

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: R0Wi <19730957+R0Wi@users.noreply.github.com>
Co-authored-by: Robin Windey <ro.windey@gmail.com>
@R0Wi R0Wi merged commit cf1a594 into stable34 May 22, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants