Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions src/components/QueueDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import TopNavTitleOnly from "@components/TopNavTitleOnly";
import { useFeatures } from "@contexts/Features.hook";
import { Switch } from "@headlessui/react";
import { ArrowRightIcon } from "@heroicons/react/20/solid";
import { BookOpenIcon } from "@heroicons/react/24/outline";
import { PauseCircleIcon, PlayCircleIcon } from "@heroicons/react/24/outline";
import { Features } from "@services/features";
import { type Producer } from "@services/producers";
Expand Down Expand Up @@ -421,9 +422,20 @@ const ConcurrencySettings = ({
</div>
)}
</div>
<p className="mt-1 text-sm/6 text-gray-600 dark:text-gray-400">
Control how many jobs can run simultaneously in this queue.
</p>
<div className="mt-1 flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between">
<p className="text-sm/6 text-gray-600 dark:text-gray-400">
Control how many jobs can run simultaneously in this queue.
</p>
<a
className="inline-flex items-center text-sm font-medium text-brand-primary hover:text-brand-primary/80"
href="https://riverqueue.com/docs/pro/concurrency-limits"
rel="noopener noreferrer"
target="_blank"
>
<BookOpenIcon aria-hidden="true" className="mr-1.5 size-4" />
View docs
</a>
</div>
</div>

<div className="space-y-6">
Expand Down
Loading