Skip to content

Commit f0016e0

Browse files
fix: Remove LIST_LIMIT in workflow informer (argoproj#9700)
Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Yuan Tang <[email protected]>
1 parent e08524d commit f0016e0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

docs/environment-variables.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ most users. Environment variables may be removed at any time.
4040
| `LEADER_ELECTION_LEASE_DURATION` | `time.Duration` | `15s` | The duration that non-leader candidates will wait to force acquire leadership. |
4141
| `LEADER_ELECTION_RENEW_DEADLINE` | `time.Duration` | `10s` | The duration that the acting master will retry refreshing leadership before giving up. |
4242
| `LEADER_ELECTION_RETRY_PERIOD` | `time.Duration` | `5s` | The duration that the leader election clients should wait between tries of actions. |
43-
| `LIST_LIMIT` | `int` | `200` | The maximum number of responses to return for a list call on workflows for workflow informer. |
4443
| `MAX_OPERATION_TIME` | `time.Duration` | `30s` | The maximum time a workflow operation is allowed to run for before re-queuing the workflow onto the work queue. |
4544
| `OFFLOAD_NODE_STATUS_TTL` | `time.Duration` | `5m` | The TTL to delete the offloaded node status. Currently only used for testing. |
4645
| `POD_NAMES` | `string` | `v2` | Whether to have pod names contain the template name (v2) or be the node id (v1) - should be set the same for Argo Server. |

workflow/controller/controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,6 @@ func (wfc *WorkflowController) tweakListOptions(options *metav1.ListOptions) {
803803
labelSelector := labels.NewSelector().
804804
Add(util.InstanceIDRequirement(wfc.Config.InstanceID))
805805
options.LabelSelector = labelSelector.String()
806-
options.Limit = int64(env.LookupEnvIntOr("LIST_LIMIT", 200))
807806
}
808807

809808
func getWfPriority(obj interface{}) (int32, time.Time) {

0 commit comments

Comments
 (0)