backend subscription
This commit is contained in:
parent
f1f58818d5
commit
32635af084
|
@ -151,15 +151,6 @@
|
||||||
{pubsub, [
|
{pubsub, [
|
||||||
%% Default should be scheduler numbers
|
%% Default should be scheduler numbers
|
||||||
{pool_size, 8},
|
{pool_size, 8},
|
||||||
|
|
||||||
%% Subscription: disc | ram | false
|
|
||||||
{subscription, ram},
|
|
||||||
|
|
||||||
%% Route shard
|
|
||||||
{route_shard, false},
|
|
||||||
|
|
||||||
%% Route delay, false | integer
|
|
||||||
{route_delay, false},
|
|
||||||
|
|
||||||
%% Route aging time(seconds)
|
%% Route aging time(seconds)
|
||||||
{route_aging, 5}
|
{route_aging, 5}
|
||||||
|
@ -182,8 +173,8 @@
|
||||||
|
|
||||||
%% Subscribe topics automatically when client connected
|
%% Subscribe topics automatically when client connected
|
||||||
{subscription, [
|
{subscription, [
|
||||||
%% Subscription from stored table
|
%% Static subscriptions from backend
|
||||||
stored,
|
backend,
|
||||||
|
|
||||||
%% $u will be replaced with username
|
%% $u will be replaced with username
|
||||||
{"$Q/username/$u", 1},
|
{"$Q/username/$u", 1},
|
||||||
|
|
|
@ -146,15 +146,6 @@
|
||||||
{pubsub, [
|
{pubsub, [
|
||||||
%% Default should be scheduler numbers
|
%% Default should be scheduler numbers
|
||||||
{pool_size, 8},
|
{pool_size, 8},
|
||||||
|
|
||||||
%% Subscription: disc | ram | false
|
|
||||||
{subscription, ram},
|
|
||||||
|
|
||||||
%% Route shard
|
|
||||||
{route_shard, false},
|
|
||||||
|
|
||||||
%% Route delay, false | integer
|
|
||||||
{route_delay, false},
|
|
||||||
|
|
||||||
%% Route aging time(seconds)
|
%% Route aging time(seconds)
|
||||||
{route_aging, 5}
|
{route_aging, 5}
|
||||||
|
@ -177,8 +168,8 @@
|
||||||
|
|
||||||
%% Subscribe topics automatically when client connected
|
%% Subscribe topics automatically when client connected
|
||||||
%% {subscription, [
|
%% {subscription, [
|
||||||
%% %% Subscription from stored table
|
%% %% Static subscriptions from backend
|
||||||
%% stored,
|
%% backend,
|
||||||
%%
|
%%
|
||||||
%% %% $u will be replaced with username
|
%% %% $u will be replaced with username
|
||||||
%% {"$Q/username/$u", 1},
|
%% {"$Q/username/$u", 1},
|
||||||
|
|
Loading…
Reference in New Issue