-
Notifications
You must be signed in to change notification settings - Fork 440
feat: Add Jobs API infrastructure (PR 1 of 3) #7169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0a619ec
d225667
0855b85
5bd6bff
84b4718
5006926
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,146 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * @fileoverview Jobs API Fetchers | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * @module platform/remote/comfyui/jobs/fetchJobs | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Unified jobs API fetcher for history, queue, and job details. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * All distributions use the /jobs endpoint. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import type { PromptId } from '@/schemas/apiSchema' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import type { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| JobDetail, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| JobListItem, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| JobStatus, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| RawJobListItem | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } from './jobTypes' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import { zJobDetail, zJobsListResponse, zWorkflowContainer } from './jobTypes' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| interface FetchJobsRawResult { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| jobs: RawJobListItem[] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| total: number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| offset: number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Fetches raw jobs from /jobs endpoint | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * @internal | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| async function fetchJobsRaw( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fetchApi: (url: string) => Promise<Response>, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| statuses: JobStatus[], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| maxItems: number = 200, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| offset: number = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ): Promise<FetchJobsRawResult> { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const statusParam = statuses.join(',') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const url = `/jobs?status=${statusParam}&limit=${maxItems}&offset=${offset}` | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| try { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const res = await fetchApi(url) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if (!res.ok) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| console.error(`[Jobs API] Failed to fetch jobs: ${res.status}`) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return { jobs: [], total: 0, offset: 0 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const data = zJobsListResponse.parse(await res.json()) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return { jobs: data.jobs, total: data.pagination.total, offset } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } catch (error) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| console.error('[Jobs API] Error fetching jobs:', error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return { jobs: [], total: 0, offset: 0 } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Large offset to ensure running/pending jobs sort above history | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const QUEUE_PRIORITY_BASE = 1_000_000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Assigns synthetic priority to jobs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Only assigns if job doesn't already have a server-provided priority. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| function assignPriority( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| jobs: RawJobListItem[], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| basePriority: number | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ): JobListItem[] { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return jobs.map((job, index) => ({ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ...job, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| priority: job.priority ?? basePriority - index | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| })) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Fetches history (completed jobs) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Assigns synthetic priority starting from total (lower than queue jobs). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| export async function fetchHistory( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fetchApi: (url: string) => Promise<Response>, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| maxItems: number = 200, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| offset: number = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ): Promise<JobListItem[]> { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const { jobs, total } = await fetchJobsRaw( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fetchApi, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ['completed'], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| maxItems, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| offset | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // History gets priority based on total count (lower than queue) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return assignPriority(jobs, total - offset) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Fetches queue (in_progress + pending jobs) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Pending jobs get highest priority, then running jobs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| export async function fetchQueue( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fetchApi: (url: string) => Promise<Response> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ): Promise<{ Running: JobListItem[]; Pending: JobListItem[] }> { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const { jobs } = await fetchJobsRaw( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fetchApi, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ['in_progress', 'pending'], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 200, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const running = jobs.filter((j) => j.status === 'in_progress') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const pending = jobs.filter((j) => j.status === 'pending') | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Pending gets highest priority, then running | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| // Both are above any history job due to QUEUE_PRIORITY_BASE | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Running: assignPriority(running, QUEUE_PRIORITY_BASE + running.length), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Pending: assignPriority( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| pending, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| QUEUE_PRIORITY_BASE + running.length + pending.length | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Fetches full job details from /jobs/{job_id} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| export async function fetchJobDetail( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fetchApi: (url: string) => Promise<Response>, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| promptId: PromptId | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ): Promise<JobDetail | undefined> { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| try { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const res = await fetchApi(`/jobs/${encodeURIComponent(promptId)}`) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if (!res.ok) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| console.warn(`Job not found for prompt ${promptId}`) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return undefined | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return zJobDetail.parse(await res.json()) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } catch (error) { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| console.error(`Failed to fetch job detail for prompt ${promptId}:`, error) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return undefined | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| /** | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Extracts workflow from job detail response. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * The workflow is nested at: workflow.extra_data.extra_pnginfo.workflow | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| * Full workflow validation happens downstream via validateComfyWorkflow. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| */ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| export function extractWorkflow(job: JobDetail | undefined): unknown { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have this ComfyUI_frontend/src/platform/workflow/validation/schemas/workflowSchema.ts Lines 486 to 510 in ad630cf
and this ComfyUI_frontend/src/platform/workflow/validation/composables/useWorkflowValidation.ts Line 11 in ad630cf
Which covers different workflow schema versions and some other things. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const parsed = zWorkflowContainer.safeParse(job?.workflow) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Validation was traditionally set as an option, due to the performance overhead and some users annoyed by constant warnings of invalid workflows that still technically worked (they don't care if it's invalid) ComfyUI_frontend/src/platform/settings/constants/coreSettings.ts Lines 26 to 31 in ad630cf
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| if (!parsed.success) return undefined | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return parsed.data.extra_data?.extra_pnginfo?.workflow | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| /** | ||
| * @fileoverview Jobs API types - Backend job API format | ||
| * @module platform/remote/comfyui/jobs/jobTypes | ||
| * | ||
| * These types represent the jobs API format returned by the backend. | ||
| * Jobs API provides a memory-optimized alternative to history API. | ||
| */ | ||
|
|
||
| import { z } from 'zod' | ||
|
|
||
| import { resultItemType, zTaskOutput } from '@/schemas/apiSchema' | ||
|
|
||
| const zJobStatus = z.enum([ | ||
| 'pending', | ||
| 'in_progress', | ||
| 'completed', | ||
| 'failed', | ||
| 'cancelled' | ||
| ]) | ||
|
|
||
| const zPreviewOutput = z.object({ | ||
| filename: z.string(), | ||
| subfolder: z.string(), | ||
| type: resultItemType | ||
| }) | ||
|
|
||
| /** | ||
| * Execution error details for error jobs. | ||
| * Contains the same structure as ExecutionErrorWsMessage from WebSocket. | ||
| */ | ||
| const zExecutionError = z | ||
| .object({ | ||
| prompt_id: z.string().optional(), | ||
| timestamp: z.number().optional(), | ||
| node_id: z.string(), | ||
| node_type: z.string(), | ||
| executed: z.array(z.string()).optional(), | ||
| exception_message: z.string(), | ||
| exception_type: z.string(), | ||
| traceback: z.array(z.string()), | ||
| current_inputs: z.unknown(), | ||
| current_outputs: z.unknown() | ||
|
Comment on lines
+41
to
+42
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd love to have the types tighter as the contract stabilizes. |
||
| }) | ||
| .passthrough() | ||
|
|
||
| /** | ||
| * Raw job from API - uses passthrough to allow extra fields | ||
| */ | ||
| const zRawJobListItem = z | ||
| .object({ | ||
| id: z.string(), | ||
| status: zJobStatus, | ||
| create_time: z.number(), | ||
| execution_start_time: z.number().nullable().optional(), | ||
| execution_end_time: z.number().nullable().optional(), | ||
|
Comment on lines
+54
to
+55
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both nullable and optional?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated!
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They're still nullable and optional. Why not just optional?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Forgot to push changes. execution_start_time = null seems more correct for jobs that haven't executed yet rather than being omitted wdyt?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Personally, I'm in the Never-null camp, especially over the wire. But it's your API. |
||
| preview_output: zPreviewOutput.nullable().optional(), | ||
| outputs_count: z.number().nullable().optional(), | ||
| execution_error: zExecutionError.nullable().optional(), | ||
| workflow_id: z.string().nullable().optional(), | ||
| priority: z.number().optional() | ||
| }) | ||
| .passthrough() | ||
|
|
||
| /** | ||
| * Job detail - returned by GET /api/jobs/{job_id} (detail endpoint) | ||
| * Includes full workflow and outputs for re-execution and downloads | ||
| */ | ||
| export const zJobDetail = zRawJobListItem | ||
| .extend({ | ||
| workflow: z.unknown().optional(), | ||
| outputs: zTaskOutput.optional(), | ||
| update_time: z.number().optional(), | ||
| execution_status: z.unknown().optional(), | ||
| execution_meta: z.unknown().optional() | ||
| }) | ||
| .passthrough() | ||
|
Comment on lines
+68
to
+76
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Job detail schema appropriately extends the base schema. The use of Future refinement: Consider defining a specific schema for const zWorkflowStructure = z.object({
// Known workflow fields
nodes: z.array(z.unknown()).optional(),
// ... other known fields
}).passthrough()
// Then use:
workflow: zWorkflowStructure.optional(),🤖 Prompt for AI Agents |
||
|
|
||
| const zPaginationInfo = z.object({ | ||
| offset: z.number(), | ||
| limit: z.number(), | ||
| total: z.number(), | ||
| has_more: z.boolean() | ||
| }) | ||
|
|
||
| export const zJobsListResponse = z.object({ | ||
| jobs: z.array(zRawJobListItem), | ||
| pagination: zPaginationInfo | ||
| }) | ||
|
|
||
| /** Schema for workflow container structure in job detail responses */ | ||
| export const zWorkflowContainer = z.object({ | ||
| extra_data: z | ||
| .object({ | ||
| extra_pnginfo: z | ||
| .object({ | ||
| workflow: z.unknown() | ||
| }) | ||
| .optional() | ||
| }) | ||
| .optional() | ||
| }) | ||
|
|
||
| export type JobStatus = z.infer<typeof zJobStatus> | ||
| export type RawJobListItem = z.infer<typeof zRawJobListItem> | ||
| /** Job list item with priority always set (server-provided or synthetic) */ | ||
| export type JobListItem = RawJobListItem & { priority: number } | ||
| export type JobDetail = z.infer<typeof zJobDetail> | ||
|
Comment on lines
+1
to
+107
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Consider leveraging Zod 4 features for enhanced validation. The schemas are well-designed for forward compatibility. As this API matures, consider using Zod 4's standalone string format validators for ID fields if they follow specific patterns. Based on library documentation, Zod 4 introduced standalone validators like:
Example if job IDs are UUIDs: const zRawJobListItem = z
.object({
- id: z.string(),
+ id: z.uuid(),
status: zJobStatus,
// ...This would provide stricter validation and better error messages at runtime. 🤖 Prompt for AI Agents
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to upgrade to Zod 4 first.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: Length of output: 364 🏁 Script executed: Length of output: 3929 @DrJKL You're absolutely right! I can see the project is currently using Zod Would you like me to create a tracking issue to revisit stricter ID validation once Zod 4 is available? This way, the suggestion won't be lost when you do upgrade. ✏️ Learnings added
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, go for it.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: Length of output: 57 @DrJKL Done! I've created issue #7273 to track the ID validation enhancement after the Zod 4 upgrade. The issue is assigned to you and includes all the relevant context and backlinks. 🧠 Learnings used |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this can be lower for now? Seems like it will improve performance for very little downside. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can set it to 50. Would this affect any users since /queue didn't have a limit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I think it's almost unheard of to go beyond 100 in queue, the performance actually degrades a lot past that anyway.