Buckets:
| import { NextResponse } from 'next/server'; | |
| import prisma from '@/server/prisma'; | |
| export async function GET(request: Request) { | |
| const { searchParams } = new URL(request.url); | |
| try { | |
| const queues = await prisma.queue.findMany({ | |
| orderBy: { gpu_ids: 'asc' }, | |
| }); | |
| return NextResponse.json({ queues: queues }); | |
| } catch (error) { | |
| console.error(error); | |
| return NextResponse.json({ error: 'Failed to fetch queue' }, { status: 500 }); | |
| } | |
| } | |
Xet Storage Details
- Size:
- 464 Bytes
- Xet hash:
- 859b23929862dd40de21e51fb72210717170f1eb2140660977d94d395b6de5f7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.