From 8034de84aa928fb3233b9ed82e186f8b826e011b Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 15 Dec 2025 08:41:26 +0100 Subject: [PATCH] fix(jobs): Fix 32 bits jobs Specifying the type to int force a convertion from string to int which fails on 32 bits for snowflake ids. Signed-off-by: Carl Schwan --- lib/private/BackgroundJob/JobList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 92c975479b4..846c7562638 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -55,7 +55,7 @@ class JobList implements IJobList { if (!$this->has($job, $argument)) { $query->insert('jobs') ->values([ - 'id' => $query->createNamedParameter($this->generator->nextId(), IQueryBuilder::PARAM_INT), + 'id' => $query->createNamedParameter($this->generator->nextId()), 'class' => $query->createNamedParameter($class), 'argument' => $query->createNamedParameter($argumentJson), 'argument_hash' => $query->createNamedParameter(hash('sha256', $argumentJson)),