]> git.example.dev Git - binbsis50.git/commitdiff
set the `maxLength` option to 1024
authorLuigi Pinca <luigipinca@gmail.com>
Mon, 15 Apr 2019 16:25:54 +0000 (18:25 +0200)
committerLuigi Pinca <luigipinca@gmail.com>
Mon, 15 Apr 2019 16:25:54 +0000 (18:25 +0200)
lib/sparks.js

index abc473206c126dbeae7e2367f24f73d171ab5765..535f1a82f13b81c903149008bebaa2e59b86bee8 100644 (file)
@@ -27,6 +27,7 @@ module.exports = function(options) {
   // Create Primus instance
   primus = new Primus(options.server, {
     authorization: authorize,
+    maxLength: 1024,
     plugin: {
       emitter: primusemitter,
       rooms: primusrooms