FIX: upload emojis sequentially to prevent rate limit

FIX: upload emojis sequentially to prevent rate limit

diff --git a/app/assets/javascripts/discourse/components/emoji-uploader.js.es6 b/app/assets/javascripts/discourse/components/emoji-uploader.js.es6
index c9027c7..a89f6f9 100644
--- a/app/assets/javascripts/discourse/components/emoji-uploader.js.es6
+++ b/app/assets/javascripts/discourse/components/emoji-uploader.js.es6
@@ -7,6 +7,12 @@ export default Ember.Component.extend(UploadMixin, {
   hasName: Ember.computed.notEmpty("name"),
   addDisabled: Ember.computed.not("hasName"),
 
+  uploadOptions() {
+    return {
+      sequentialUploads: true,
+    };
+  },
+
   @computed("hasName", "name")
   data(hasName, name) {
     return hasName ? { name } : {};

GitHub sha: 94fe0af9

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: