Skip to content

Commit 1c3c5f4

Browse files
authored
Merge pull request #2881 from bluewave-labs/fix/queue
fix: queue
2 parents 30a5692 + e7006a4 commit 1c3c5f4

File tree

8 files changed

+254
-311
lines changed

8 files changed

+254
-311
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vscode

client/src/Hooks/logHooks.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ const useFetchLogs = () => {
1515
setIsLoading(true);
1616
const response = await networkService.getLogs();
1717
setLogs(response.data.data);
18-
createToast({
19-
body: t("logsPage.toast.fetchLogsSuccess"),
20-
});
2118
} catch (error) {
2219
setError(error);
2320
createToast({

client/src/Pages/Logs/Queue/components/JobTable/index.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ const JobTable = ({ jobs = [] }) => {
4646
content: t("queuePage.jobTable.urlHeader"),
4747
render: (row) => row.monitorUrl,
4848
},
49+
{
50+
id: "interval",
51+
content: t("queuePage.jobTable.intervalHeader"),
52+
render: (row) => `${row.monitorInterval} ms`,
53+
},
4954
{
5055
id: "type",
5156
content: t("queuePage.jobTable.typeHeader"),

client/src/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@
740740
"idHeader": "Monitor ID",
741741
"urlHeader": "URL",
742742
"typeHeader": "Type",
743+
"intervalHeader": "Interval",
743744
"activeHeader": "Active",
744745
"lockedAtHeader": "Locked at",
745746
"runCountHeader": "Run count",

0 commit comments

Comments
 (0)