Skip to content

Commit

Permalink
Fix Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Nov 19, 2024
1 parent a7aa38f commit b3a3ba3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions api/lib/events-pool.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import AWSLambda from '@aws-sdk/client-lambda';
import Schedule from './schedule.js';
import { randomUUID } from 'node:crypto';
import { Layer } from './schema.js';
import { PostgresJsDatabase } from 'drizzle-orm/postgres-js';
import { type InferSelectModel } from 'drizzle-orm';
Expand Down Expand Up @@ -66,6 +65,7 @@ export default class EventsPool {
}

try {
// All Units should be seconds here
const parsed = Schedule.parse_rate(cron);

this.jobs.set(layerid, setInterval(async () => {
Expand Down Expand Up @@ -95,9 +95,3 @@ export default class EventsPool {
}
}

async function LambdaJob(layerid: number, stackName: string) {
try {
} catch (err) {
console.error(err);
}
}

0 comments on commit b3a3ba3

Please sign in to comment.