backend subscription

This commit is contained in:
Feng 2016-03-08 13:51:21 +08:00
parent f1f58818d5
commit 32635af084
2 changed files with 4 additions and 22 deletions

View File

@ -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},

View File

@ -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},