Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutenberg saves a huge number of revisions #5781

Closed
2 tasks
mhsabbagh opened this issue Mar 25, 2018 · 1 comment
Closed
2 tasks

Gutenberg saves a huge number of revisions #5781

mhsabbagh opened this issue Mar 25, 2018 · 1 comment

Comments

@mhsabbagh
Copy link

Issue Overview

When writing a new post using Gutenberg, the editor seems to be saving a revision each second, which causes a huge number of revisions to be stored for just one post. E.g: Yesterday I wrote a post of 700 words using Gutenberg, the editor created 225 revisions for that post alone.

This is huge, and causes the database usage to rise and could cause some bandwidth/storage issues on limited environments.

Steps to Reproduce (for bugs)

  1. Go to the new post page.
  2. Start writing some words, adding some images or modifying blocks continuously.
  3. After a minute or two of continues writing and editing, check the revisions number.

Expected Behavior

Gutenberg should have created a way less number of revisions, instead of doing it almost every second.

Current Behavior

Gutenberg seems to create a revision each second, each revision includes a difference of the new words that you wrote before you stop for a split second while writing.

Also, Gutenberg seems to take a revision each new block is created/modified/deleted instantly.

Screenshots / Video

gutenberg-bug

Todos

  • Tests
  • Documentation
@ocean90
Copy link
Member

ocean90 commented Mar 25, 2018

Thanks for the report. This is being tracked at #3656.

@ocean90 ocean90 closed this as completed Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants