From dfd71f05509783fb7801ea27e444e27a85a74d76 Mon Sep 17 00:00:00 2001 From: Eduardo Gurgel Date: Sat, 9 Jun 2018 19:19:05 +1200 Subject: [PATCH] Add payload_limit to poxa.schema.exs --- config/poxa.schema.exs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/poxa.schema.exs b/config/poxa.schema.exs index a3877e4..ae01bd8 100644 --- a/config/poxa.schema.exs +++ b/config/poxa.schema.exs @@ -90,7 +90,14 @@ env_var: "SSL_KEYFILE", default: "", datatype: :binary, - ] + ], + "poxa.payload_limit": [ + doc: "Payload limit for a message", + to: "poxa.payload_limit", + env_var: "PAYLOAD_LIMIT", + default: 10_000, + datatype: :integer, + ], ], transforms: [], validators: []