Skip to content

Commit 9b2aa5f

Browse files
committed
chore: remove Cloudflare Worker for article cleanup
- Deleted the `cron-worker.ts` file as the cron trigger has been removed and article cleanup is now managed by Inngest. - Updated documentation in `CLAUDE.md` to reflect the removal of the Cloudflare Workers reference.
1 parent 9728475 commit 9b2aa5f

2 files changed

Lines changed: 0 additions & 61 deletions

File tree

CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,6 @@ const feedQuery = useInfiniteQuery({
365365
- **Bengali Language Support**: Custom font loading (Kohinoor Bangla) and i18n in `src/i18n/`
366366
- **SEO Optimization**: Dynamic sitemaps in `src/app/sitemaps/`, Open Graph tags, and schema markup
367367
- **No test framework**: There are no automated tests — use `bun run play` for backend experimentation
368-
- **Cloudflare Workers**: `wrangler.toml` still references `src/workers/cron-worker.ts` but the cron trigger has been removed. Article cleanup is now handled by Inngest (see below).
369368
- **Article soft-delete**: Articles have a `delete_scheduled_at` field. Setting it schedules permanent deletion; `article-cleanup-service.ts` processes them when the **Inngest cron** (`cleanup-expired-articles`, `0 2 * * *` UTC) fires. Use `restoreScheduleDeletedArticle` to cancel.
370369

371370
## Caching & ISR (Incremental Static Regeneration)

src/workers/cron-worker.ts

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)