This commit is contained in:
parent
47bb8d9a97
commit
6cb6eba93f
|
@ -466,7 +466,6 @@ export default function killTheNewsletter(
|
|||
`
|
||||
);
|
||||
while (renderFeed(feedReference)!.length > 500_000)
|
||||
// TODO: Does LIMIT 1 work in DELETE?
|
||||
database.run(
|
||||
sql`DELETE FROM "entries" WHERE "feed" = ${feed.id} ORDER BY "createdAt" ASC LIMIT 1`
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue