Closed SystemZ closed 8 years ago
Thanks for the report. @xfix can you add a reasonable debounce to this call? There's a handy function in discourse/lib/debounce
that should fix this.
I've merged this into the beta branch and will deploy to discourse-babble.com. If that stands up over the next day or two, I'll merge into the master branch. Thanks for the report @SystemZ !
I tested it and now it's fixed. Many thanks :)
Currently on beta branch each keystroke generates 1 POST to backend. This results in DoS for forum when typing message.
Chart for average CPU is much higher after upgrading plugin with this notification. Typing results 100% CPU on server for a couple of seconds or minutes if there are more people typing.
Maybe better idea will be mechanism like in Discourse search box?