Skip to content

Commit

Permalink
Add debug for store new batch
Browse files Browse the repository at this point in the history
  • Loading branch information
cyppe committed Mar 4, 2024
1 parent 50626ea commit ffad3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/RedisBatchRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function store(PendingBatch $batch)
Redis::connection(config('queue.batching.redis_connection', 'default'))->set("batch:{$id}", json_encode($batchData));
Redis::connection(config('queue.batching.redis_connection', 'default'))->rpush('batches_list', $id); // Add the batch ID to the list

$this->debug("store method - new batch created with id ({$id})");
$this->debug("store method - new batch created with id ({$id}) and name ({$batch->name})");

return $this->find($id);
}
Expand Down

0 comments on commit ffad3f1

Please sign in to comment.