fixed up workers
This commit is contained in:
parent
60d7de1da8
commit
f41622e530
5 changed files with 30 additions and 8 deletions
|
|
@ -30,6 +30,7 @@ export function QueueStatsTable({ queues }: QueueStatsTableProps) {
|
|||
<table className="w-full text-xs">
|
||||
<thead>
|
||||
<tr className="border-b border-border">
|
||||
<th className="text-left py-2 px-3 text-text-secondary font-medium">Service</th>
|
||||
<th className="text-left py-2 px-3 text-text-secondary font-medium">Queue</th>
|
||||
<th className="text-center py-2 px-3 text-text-secondary font-medium">Status</th>
|
||||
<th className="text-right py-2 px-3 text-text-secondary font-medium">Waiting</th>
|
||||
|
|
@ -46,7 +47,8 @@ export function QueueStatsTable({ queues }: QueueStatsTableProps) {
|
|||
<tbody>
|
||||
{queues.map((queue) => (
|
||||
<tr key={queue.name} className="border-b border-border hover:bg-surface-tertiary/50 transition-colors">
|
||||
<td className="py-2 px-3 font-medium text-text-primary">{queue.name}</td>
|
||||
<td className="py-2 px-3 font-medium text-text-primary">{queue.service}</td>
|
||||
<td className="py-2 px-3 font-medium text-text-primary">{queue.queue}</td>
|
||||
<td className="py-2 px-3 text-center">
|
||||
<span className={cn(
|
||||
'inline-block w-2 h-2 rounded-full',
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ export interface CacheStats {
|
|||
|
||||
export interface QueueStats {
|
||||
name: string;
|
||||
service: string;
|
||||
queue: string;
|
||||
connected: boolean;
|
||||
jobs: {
|
||||
waiting: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue