# 不正な設定のサイトからの壊れたonebox画像の処理

**URL:** https://meta.discourse.org/t/handling-of-broken-onebox-images-from-malconfigured-sites/199079
**Category:** Feature
**Created:** [2021 年 8 月 3 日午後 9:20 UTC](https://meta.discourse.org/t/handling-of-broken-onebox-images-from-malconfigured-sites/199079 "2021-08-03T21:20:51Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2021 年 8 月 3 日午後 9:23 UTC](https://meta.discourse.org/t/handling-of-broken-onebox-images-from-malconfigured-sites/199079/2 "2021-08-03T21:23:16Z")

</div>

> [@TallTrees](#):
>
> 一つ考えられるのは、投稿を調理する際にワンボックスの画像を取得し、後で提供するためのサムネイルを保存するというアプローチです。

すでにその機能は実装されていますよ。もう一度投稿を確認してください！

もちろん、投稿の「調理」時に実行されるわけではありません。そのクリティカルパスにウェブリクエストを置かないためです。代わりに、バックグラウンドでキューイングしてワンボックスの画像をダウンロードしています。

「リモート画像をローカルにダウンロード」が有効（デフォルトで true）の場合、編集の猶予期間（デフォルト 300 秒）が経過してからダウンロードを実行します。

---

_[View the full topic](https://meta.discourse.org/t/handling-of-broken-onebox-images-from-malconfigured-sites/199079)._
