mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:03:52 +08:00
ce4b5b56e5
Previously if saving a draft took longer than 2 seconds there could be conditions where drafts could be saved concurrently. This meant the composer could race with itself and raise conflicts. This is likely to happen on bad internet connections or where latency is really high. Additionally a throttle was added so drafts save unconditionally every 15 seconds. Save draft in the model now properly and consistently returns a promise. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |