fix: elvis warning
This commit is contained in:
parent
677265bec2
commit
fdc0682c3f
|
@ -71,24 +71,15 @@
|
||||||
%%--------------------------------------------------------------------
|
%%--------------------------------------------------------------------
|
||||||
|
|
||||||
create_router_tab(disc) ->
|
create_router_tab(disc) ->
|
||||||
ok = mria:create_table(?ROUTE_DISC_TAB, [
|
create_table(?ROUTE_DISC_TAB, disc_copies);
|
||||||
{type, bag},
|
|
||||||
{rlog_shard, ?ROUTE_SHARD},
|
|
||||||
{storage, disc_copies},
|
|
||||||
{record_name, route},
|
|
||||||
{attributes, record_info(fields, route)},
|
|
||||||
{storage_properties, [
|
|
||||||
{ets, [
|
|
||||||
{read_concurrency, true},
|
|
||||||
{write_concurrency, true}
|
|
||||||
]}
|
|
||||||
]}
|
|
||||||
]);
|
|
||||||
create_router_tab(ram) ->
|
create_router_tab(ram) ->
|
||||||
ok = mria:create_table(?ROUTE_RAM_TAB, [
|
create_table(?ROUTE_RAM_TAB, ram_copies).
|
||||||
|
|
||||||
|
create_table(Tab, Storage) ->
|
||||||
|
ok = mria:create_table(Tab, [
|
||||||
{type, bag},
|
{type, bag},
|
||||||
{rlog_shard, ?ROUTE_SHARD},
|
{rlog_shard, ?ROUTE_SHARD},
|
||||||
{storage, ram_copies},
|
{storage, Storage},
|
||||||
{record_name, route},
|
{record_name, route},
|
||||||
{attributes, record_info(fields, route)},
|
{attributes, record_info(fields, route)},
|
||||||
{storage_properties, [
|
{storage_properties, [
|
||||||
|
|
|
@ -14,8 +14,8 @@ type: application
|
||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
version: 5.0.13
|
version: 5.0.14
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: 5.0.13
|
appVersion: 5.0.14
|
||||||
|
|
Loading…
Reference in New Issue