mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-10-07 20:52:02 +08:00
Remove stale code
This commit is contained in:
@@ -7,11 +7,6 @@ export interface ListQueuesResponse {
|
||||
queues: Queue[];
|
||||
}
|
||||
|
||||
export interface GetQueueResponse {
|
||||
current: Queue;
|
||||
history: DailyStat[];
|
||||
}
|
||||
|
||||
export interface ListActiveTasksResponse {
|
||||
tasks: ActiveTask[];
|
||||
stats: Queue;
|
||||
@@ -158,14 +153,6 @@ export async function listQueues(): Promise<ListQueuesResponse> {
|
||||
return resp.data;
|
||||
}
|
||||
|
||||
export async function getQueue(qname: string): Promise<GetQueueResponse> {
|
||||
const resp = await axios({
|
||||
method: "get",
|
||||
url: `${BASE_URL}/queues/${qname}`,
|
||||
});
|
||||
return resp.data;
|
||||
}
|
||||
|
||||
export async function deleteQueue(qname: string): Promise<void> {
|
||||
await axios({
|
||||
method: "delete",
|
||||
|
Reference in New Issue
Block a user