Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cleanup): remove v1 migration worker #801

Merged
merged 5 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { logger } from "./utils/logger";
import "./utils/tracer";
import { initWorker } from "./worker";
import { CancelRecycledNoncesQueue } from "./worker/queues/cancelRecycledNoncesQueue";
import { MigratePostgresTransactionsQueue } from "./worker/queues/migratePostgresTransactionsQueue";
import { MineTransactionQueue } from "./worker/queues/mineTransactionQueue";
import { NonceResyncQueue } from "./worker/queues/nonceResyncQueue";
import { ProcessEventsLogQueue } from "./worker/queues/processEventLogsQueue";
Expand Down Expand Up @@ -69,7 +68,6 @@ const gracefulShutdown = async (signal: NodeJS.Signals) => {
await MineTransactionQueue.q.close();
await CancelRecycledNoncesQueue.q.close();
await PruneTransactionsQueue.q.close();
await MigratePostgresTransactionsQueue.q.close();
await NonceResyncQueue.q.close();

process.exit(0);
Expand Down
2 changes: 0 additions & 2 deletions src/server/middleware/adminRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { StatusCodes } from "http-status-codes";
import { timingSafeEqual } from "node:crypto";
import { env } from "../../utils/env";
import { CancelRecycledNoncesQueue } from "../../worker/queues/cancelRecycledNoncesQueue";
import { MigratePostgresTransactionsQueue } from "../../worker/queues/migratePostgresTransactionsQueue";
import { MineTransactionQueue } from "../../worker/queues/mineTransactionQueue";
import { NonceHealthCheckQueue } from "../../worker/queues/nonceHealthCheckQueue";
import { NonceResyncQueue } from "../../worker/queues/nonceResyncQueue";
Expand All @@ -30,7 +29,6 @@ const QUEUES: Queue[] = [
MineTransactionQueue.q,
CancelRecycledNoncesQueue.q,
PruneTransactionsQueue.q,
MigratePostgresTransactionsQueue.q,
NonceResyncQueue.q,
NonceHealthCheckQueue.q,
];
Expand Down
3 changes: 0 additions & 3 deletions src/worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
updatedWebhooksListener,
} from "./listeners/webhookListener";
import { initCancelRecycledNoncesWorker } from "./tasks/cancelRecycledNoncesWorker";
import { initMigratePostgresTransactionsWorker } from "./tasks/migratePostgresTransactionsWorker";
import { initMineTransactionWorker } from "./tasks/mineTransactionWorker";
import { initNonceHealthCheckWorker } from "./tasks/nonceHealthCheckWorker";
import { initNonceResyncWorker } from "./tasks/nonceResyncWorker";
Expand All @@ -29,8 +28,6 @@ export const initWorker = async () => {

initNonceHealthCheckWorker();

await initMigratePostgresTransactionsWorker();

await initNonceResyncWorker();

// Listen for new & updated configuration data.
Expand Down
17 changes: 0 additions & 17 deletions src/worker/queues/migratePostgresTransactionsQueue.ts

This file was deleted.

227 changes: 0 additions & 227 deletions src/worker/tasks/migratePostgresTransactionsWorker.ts

This file was deleted.

Loading