mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
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 <carl.schwan@nextcloud.com>
This commit is contained in:
parent
282341a8d6
commit
8034de84aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Reference in a new issue