public function trimRecentJobs()
    {
        $this->connection()->pipeline(function ($pipe) {
            $score = Chronos::now()->subMinutes($this->recentJobExpires)->getTimestamp() * -1;

            $pipe->zremrangebyscore('recent_jobs', $score, '+inf');

            $pipe->zremrangebyscore('recent_failed_jobs', $score, '+inf');
        });
    }
public function trimRecentJobs()
    {
        $this->connection()->pipeline(function ($pipe) {
            $score = Chronos::now()->subMinutes($this->recentJobExpires)->getTimestamp() * -1;

            $pipe->zremrangebyscore('recent_jobs', $score, '+inf');

            $pipe->zremrangebyscore('recent_failed_jobs', $score, '+inf');
        });
    }
public function trimRecentJobs ( ) { $ this -> connection ( ) -> pipeline ( function ( $ pipe ) { $ score = Chronos :: now ( ) -> subMinutes ( $ this -> recentJobExpires ) -> getTimestamp ( ) * - 1 ; $ pipe -> zremrangebyscore ( 'recent_jobs' , $ score , '+inf' ) ; $ pipe -> zremrangebyscore ( 'recent_failed_jobs' , $ score , '+inf' ) ; } ) ; }
Trim the recent job list.

@return void
Trim the recent job list .