summaryrefslogtreecommitdiff
path: root/include/pubsub.hrl
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-29 17:13:16 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-29 17:13:16 +0300
commit2da168cf0564b23eba43cacca84c60d6c65f14ee (patch)
treec9578c163d85607acf29b27a4dcbe94d8a24a584 /include/pubsub.hrl
parentApply shaping to websocket connections (diff)
Improve handling of errors in pubsub code
Diffstat (limited to '')
-rw-r--r--include/pubsub.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pubsub.hrl b/include/pubsub.hrl
index 77a9458a..666a09fa 100644
--- a/include/pubsub.hrl
+++ b/include/pubsub.hrl
@@ -26,7 +26,7 @@
-define(MAXITEMS, 10).
%% this is currently a hard limit.
-%% Would be nice to have it configurable.
+%% Would be nice to have it configurable.
-define(MAX_PAYLOAD_SIZE, 250000).
%% -------------------------------
@@ -84,7 +84,7 @@
Value::binary() | [binary()] | boolean()
}).
--type(subOptions() :: [mod_pubsub:subOption(),...]).
+-type(subOptions() :: [mod_pubsub:subOption()]).
-type(pubOption() ::
{Option::binary(),