chore(license): delete default config and add info to i18n

This commit is contained in:
Thales Macedo Garitezi 2022-09-14 17:00:21 -03:00
parent 8cefdb00b8
commit 21f89fd83e
3 changed files with 5 additions and 7 deletions

View File

@ -1,6 +0,0 @@
license {
# The default license has 1000 connections limit, it is issued on 20220419 and valid for 5 years (1825 days)
key = "MjIwMTExCjAKMTAKRXZhbHVhdGlvbgpjb250YWN0QGVtcXguaW8KZGVmYXVsdAoyMDIyMDQxOQoxODI1CjEwMDAK.MEQCICbgRVijCQov2hrvZXR1mk9Oa+tyV1F5oJ6iOZeSHjnQAiB9dUiVeaZekDOjztk+NCWjhk4PG8tWfw2uFZWruSzD6g=="
connection_low_watermark = 75%,
connection_high_watermark = 80%
}

View File

@ -2,6 +2,10 @@ emqx_license_schema {
license_root {
desc {
en: "Defines the EMQX Enterprise license. \n\n"
"\n"
"The default license has 1000 connections limit, it is "
"issued on 2022-04-19 and valid for 5 years (1825 days).\n"
"\n"
"EMQX comes with a default trial license. For production use, please \n"
"visit https://www.emqx.com/apply-licenses/emqx to apply."
zh: "EMQX企业许可证。\n"

View File

@ -77,6 +77,6 @@ make_license(Values) ->
iolist_to_binary([EncodedText, ".", EncodedSignature]).
default_license() ->
%% keep it the same as in etc/emqx_license.conf
%% keep it the same as in emqx_license_schema.erl
"MjIwMTExCjAKMTAKRXZhbHVhdGlvbgpjb250YWN0QGVtcXguaW8KZGVmYXVsdAoyMDIyMDQxOQoxODI1CjEwMDAK."
"MEQCICbgRVijCQov2hrvZXR1mk9Oa+tyV1F5oJ6iOZeSHjnQAiB9dUiVeaZekDOjztk+NCWjhk4PG8tWfw2uFZWruSzD6g==".