Queues.constants.tsx 688 B

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