常駐の番人への連絡が、自動で何度も試し直される
💬 In one line
常駐の番人に話しかけたときに、通信が途中で切れたり一時的に上手くいかなかったら、自動で何度もやり直してくれるようになりました。
これまで「上手くいくまで何度も試す」をプログラム側で書く必要がありませんでした。
✨ Highlights
-
通信トラブル時の自動やり直し
ネットの一時的な不調で失敗しても、自分でコードを書かなくても、勝手に何度か試し直してくれます。
-
試し直しの回数と時間を調整できる
デフォルトは最大4回、10秒以内ですが、場面に応じて変えることができます。
-
重複実行の心配が減る
同じ処理が二重に実行されない仕組みが入ったので、安心して自動やり直しが使えます。
🛠️ What it means for your work
常駐の番人に何か依頼するときに、「もし失敗したら自分で何度も試す」というコードを書いていたなら、その部分をシンプルに削ることができます。ただし、今まで書いていた試し直しロジックがあれば、それを調整するか外す必要があります。
⚠️ Watch out for
すべての処理が自動やり直しの対象になるわけではありません。「同じ結果になる安全な処理」だけに `retryable()` という印をつけて使う必要があります。たとえば、同じ操作を何度繰り返しても同じ結果になる処理(数量を設定する)なら大丈夫ですが、毎回足す処理(在庫を1つ足す)は危ないので、印をつけてはいけません。
🔗 Original
This page is an AI summary of the official release notes. The full original text is not reproduced here.
Read the Cloudflare https://developers.cloudflare.com/changelog/post/2026-11-05-durable-objects-automatic-retries/ release notes →🔗 Related hubs and releases in the same category
🔔 Get the next one
Get plain-Japanese write-ups of new Cloudflare releases without opening the site (twice a day). No email address required.
What is RSS: New items arrive automatically wherever you already read (a reader such as Feedly, Slack, n8n). Copy the URL above and paste it in — no sign-up, no cost.
The headline and summary are an AI's Japanese rendering of each company's official announcement. They can diverge from the original. For the exact wording, follow the link to the official page. Terms of Use