public function storeRetryReference($id, $retryId)
    {
        $retries = json_decode($this->connection()->hget($id, 'retried_by') ?: '[]');

        $retries[] = [
            'id' => $retryId,
            'status' => 'pending',
            'retried_at' => Chronos::now()->getTimestamp(),
        ];

        $this->connection()->hmset($id, ['retried_by' => json_encode($retries)]);
    }
public function storeRetryReference($id, $retryId)
    {
        $retries = json_decode($this->connection()->hget($id, 'retried_by') ?: '[]');

        $retries[] = [
            'id' => $retryId,
            'status' => 'pending',
            'retried_at' => Chronos::now()->getTimestamp(),
        ];

        $this->connection()->hmset($id, ['retried_by' => json_encode($retries)]);
    }
public function storeRetryReference ( $ id , $ retryId ) { $ retries = json_decode ( $ this -> connection ( ) -> hget ( $ id , 'retried_by' ) ? : '[]' ) ; $ retries [ ] = [ 'id' => $ retryId , 'status' => 'pending' , 'retried_at' => Chronos :: now ( ) -> getTimestamp ( ) , ] ; $ this -> connection ( ) -> hmset ( $ id , [ 'retried_by' => json_encode ( $ retries ) ] ) ; }
Store the retry job ID on the original job record.

@param  string  $id
@param  string  $retryId
@return void
Store the retry job ID on the original job record .