Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

712 B
Raw Blame
import { Rows2Icon, Rows3Icon, Rows4Icon } from 'lucide-react'

export const QUEUE_TYPES = [
  {
    value: 'basic',
    icon: <Rows4Icon strokeWidth={1} />,
    label: 'Basic queue',
    description: 'Create a basic queue.',
  },
  {
    value: 'unlogged',
    icon: <Rows2Icon strokeWidth={1} />,
    label: 'Unlogged queue',
    description:
      'Creates an unlogged queue which loses all data on database restart. Can be useful when write throughput is more important than durability.',
  },
  {
    value: 'partitioned',
    icon: <Rows3Icon strokeWidth={1} />,
    label: 'Partitioned queue',
    description: 'Create a partitioned queue which is optimized for large amount of messages',
  },
] as const