Queues.constants.tsx23 lines · main
1import { Rows2, Rows3, Rows4 } from 'lucide-react'
2
3export const QUEUE_TYPES = [
4 {
5 value: 'basic',
6 icon: <Rows4 strokeWidth={1} />,
7 label: 'Basic queue',
8 description: 'Create a basic queue.',
9 },
10 {
11 value: 'unlogged',
12 icon: <Rows2 strokeWidth={1} />,
13 label: 'Unlogged queue',
14 description:
15 'Creates an unlogged queue which loses all data on database restart. Can be useful when write throughput is more important than durability.',
16 },
17 {
18 value: 'partitioned',
19 icon: <Rows3 strokeWidth={1} />,
20 label: 'Partitioned queue',
21 description: 'Create a partitioned queue which is optimized for large amount of messages',
22 },
23] as const