FIX: limit visible revisions history to last 100 (PR #12946)

This is done to prevent spike memory usage when the number of revisions is very large (thousands) and the post has a significant length.

GitHub

Pada Rab, 5 Mei 2021, 5:34 PTG Joffrey JAFFEUX @.***> menulis:

This is done to prevent spike memory usage when the number of revisions is very large (thousands) and the post has a significant length.

You can view, comment on, or merge this pull request online at:

FIX: limit visible revisions history to last 100 by jjaffeux · Pull Request #12946 · discourse/discourse · GitHub Commit Summary

  • FIX: limit visible revisions history to last 100
  • 99 instead of 100 to account for virtual post revision

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/discourse/discourse/pull/12946, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYEAHDLZV6T4LBK2F4TVFLTMEGIZANCNFSM44EKE5UA .