2
0
mirror of https://github.com/hibiken/asynqmon.git synced 2025-10-26 16:26:12 +08:00

Add retry and last error fields to all task types

This commit is contained in:
Ken Hibino
2021-01-27 07:18:31 -08:00
parent a488599ec0
commit 3c43624927
3 changed files with 63 additions and 42 deletions

View File

@@ -392,21 +392,27 @@ function Row(props: RowProps) {
<TableBody>
<TableRow>
<TableCell>Retry</TableCell>
<TableCell align="right">2/25</TableCell>
<TableCell align="right">
{task.retried}/{task.max_retry}
</TableCell>
</TableRow>
<TableRow>
<TableCell>Deadline</TableCell>
<TableCell align="right">In 30s</TableCell>
<TableCell>Last Error</TableCell>
<TableCell align="right">
{task.error_message.length > 0
? task.error_message
: "N/A"}
</TableCell>
</TableRow>
<TableRow>
<TableCell className={classes.noBottomBorder}>
Unique
Deadline
</TableCell>
<TableCell
align="right"
className={classes.noBottomBorder}
align="right"
>
5m30s remaining
TODO: In 30s
</TableCell>
</TableRow>
</TableBody>