Skip to content

Commit

Permalink
Add item - acceptable max obj length - in gateway's conf
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukehara committed Oct 23, 2012
1 parent 7cdefc8 commit 4d616dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions rel/leo_gateway/files/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@
{ssl_keyfile, "{{ssl_keyfile}}" },

%% == large-object related ==
{chunked_obj_size, {{chunked_obj_size}} },
{threshold_obj_size, {{threshold_obj_size}} },
{acceptable_max_obj_len, {{acceptable_max_obj_len}} },
{chunked_obj_len, {{chunked_obj_len}} },
{threshold_obj_len, {{threshold_obj_len}} },

%% == Cache related ==
%% Name of the cache plugin
Expand Down
8 changes: 4 additions & 4 deletions rel/leo_gateway/vars.config
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
{ssl_keyfile, "{{platform_etc_dir}}/server_key.pem"}.

%% large-object related
{chunked_obj_size, 4194304}. %% 4MB
{threshold_obj_size, 5242880}. %% 5MB
{acceptable_max_obj_len, 2147483648}. %% 2GB
{chunked_obj_len, 4194304}. %% 4MB
{threshold_obj_len, 5242880}. %% 5MB

%% leo-manager's nodes
{managers, '["manager_0@127.0.0.1", "manager_1@127.0.0.1"]'}.


%% == Cache-related properties ==
%%
%% Total of cache-size (capacity)
Expand All @@ -68,7 +68,7 @@

%% Name of the cache plugin
%% Default is 'mochiweb_mod_cache'
{cache_plugin, mochiweb_mod_cache}.
{cache_plugin, default}.

%% Cache expire time. Unit is minutes.
%% Unit is minutes - 300 = 5min
Expand Down

0 comments on commit 4d616dc

Please sign in to comment.