HackerTrans
トップ新着トレンドコメント過去質問紹介求人

dmitry-vsl

no profile record

コメント

dmitry-vsl
·10 か月前·議論
Probably better to use partitioned table and drop old partitions.
dmitry-vsl
·12 か月前·議論
> We had createScheduledPosts.ts that would run every 15 minutes, scan our table of scheduled posts and create any that needed to be published.

Why not set the publication_date when you create a post and have a function getPublishedPosts that fetches a list of posts, filtering out those with a publication_date earlier than the current date? With this approach, you don't need cron jobs at all.
dmitry-vsl
·昨年·議論
Is it possible to use batch mode with fine-tuned models?