src/Web/Sessions/SessionArchiveInDb.php
public function gc($lifeTime = 3600)
    {
        $expiredTs = time() - $lifeTime;
        return $this->createCommand()
            ->delete($this->table, ['<', 'updated_at', $expiredTs])
            ->execute();
    }
public function gc($lifeTime = 3600)
    {
        $expiredTs = time() - $lifeTime;
        return $this->createCommand()
            ->delete($this->table, ['<', 'updated_at', $expiredTs])
            ->execute();
    }
Garbage collector callback
@param int $lifeTime Session life time in archive
@return ExtendedPromiseInterface which resolved after process complete