Skip to content

Commit

Permalink
Raising limit to 5000
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Feb 28, 2024
1 parent 32eb4ad commit f40b701
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/api-client/lib/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { version as rmfModelVer } from 'rmf-models';

export const version = {
rmfModels: rmfModelVer,
rmfServer: '1403b63032764b781ef1ba349e50a9d895204bbb',
rmfServer: '32eb4ad7afceb49e48d5c299633c1488ba41072a',
openapiGenerator: '6.2.1',
};
6 changes: 3 additions & 3 deletions packages/api-client/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ export default {
required: false,
schema: {
title: 'Limit',
maximum: 1000.0,
maximum: 5000.0,
exclusiveMinimum: 0.0,
type: 'integer',
description: 'defaults to 100',
Expand Down Expand Up @@ -1284,7 +1284,7 @@ export default {
required: false,
schema: {
title: 'Limit',
maximum: 1000.0,
maximum: 5000.0,
exclusiveMinimum: 0.0,
type: 'integer',
description: 'defaults to 100',
Expand Down Expand Up @@ -1852,7 +1852,7 @@ export default {
required: false,
schema: {
title: 'Limit',
maximum: 1000.0,
maximum: 5000.0,
exclusiveMinimum: 0.0,
type: 'integer',
description: 'defaults to 100',
Expand Down
2 changes: 1 addition & 1 deletion packages/api-server/api_server/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


def pagination_query(
limit: int | None = Query(None, gt=0, le=1000, description="defaults to 100"),
limit: int | None = Query(None, gt=0, le=5000, description="defaults to 100"),
offset: int | None = Query(None, ge=0, description="defaults to 0"),
order_by: str
| None = Query(
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/src/components/tasks/tasks-app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export const TasksApp = React.memo(
`0,${timestamp.getTime()}`,
undefined,
undefined,
1000,
5000,
undefined,
'-unix_millis_start_time',
undefined,
Expand Down

0 comments on commit f40b701

Please sign in to comment.