Skip to content

Commit 8717df8

Browse files
committed
fix(coderd): set default provisionerjobs limit to 50
1 parent b3b229c commit 8717df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/provisionerjobs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (api *API) handleAuthAndFetchProvisionerJobs(rw http.ResponseWriter, r *htt
101101

102102
qp := r.URL.Query()
103103
p := httpapi.NewQueryParamParser()
104-
limit := p.PositiveInt32(qp, 0, "limit")
104+
limit := p.PositiveInt32(qp, 50, "limit")
105105
status := p.Strings(qp, nil, "status")
106106
p.ErrorExcessParams(qp)
107107
if len(p.Errors) > 0 {

0 commit comments

Comments
 (0)