---
id: gk-foundation-scheduler-task-max-no-progress-reruns
title: "Filter - gk/foundation/scheduler/task/max-no-progress-reruns"
sidebar_label: "gk/foundation/scheduler/task/max-no-progress-reruns"
tags:
  - "1.12.0"
---

# Filter: gk/foundation/scheduler/task/max-no-progress-reruns

Filters the maximum consecutive no-progress reruns per task.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $max | `int` | The maximum reruns without progress. Default: 5. |
| $task | `\Task` | The task object. |

### Since

- 1.12.0

### Source

Defined in `Scheduler/Handlers/ScheduleHandler.php` at line 1690

