You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% for comment in comments %}
{% set created = comment.created.strftime('%Y/%m/%d %H:%M') %}
{% set reply = h.get_comment_reply(comment.id) %}
{% if c.userobj.sysadmin %}
{% if comment.approval %}
{% if not reply %}
== 省略 ==
データリソースに対するコメント一覧を表示する際に、RDBから検索する処理を含む
h.get_comment_reply
がコメントの件数分実行されてしまう。コメントの件数が増えるほど性能劣化につながることが懸念される為、処理の見直しが必要かと思われる。
対象
※他にも同様の処理をしている箇所があるかもしれません
参考
The text was updated successfully, but these errors were encountered: