Skip to content

Commit 4355915

Browse files
committed
fix: ensure jobId is a string
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent bd1fcf3 commit 4355915

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/BackgroundJob/JobRuns.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function runningJobs(int $limit = 200): \Generator {
6969
foreach ($result->iterateAssociative() as $row) {
7070
$snowflakeInfo = $this->snowflakeDecoder->decode((string)$row['run_id']);
7171
yield new JobRun(
72-
$row['run_id'],
72+
(string) $row['run_id'],
7373
$this->classesRegistry->getName($row['class_id']),
7474
$snowflakeInfo->getServerId(),
7575
$row['pid'],

0 commit comments

Comments
 (0)