HG-424 Increace hardcoded customer deadline (#247)

* Increace hardcoded customer deadline
* Add config to application env
This commit is contained in:
Andrey Fadeev 2018-09-19 15:22:56 +03:00 committed by GitHub
parent 4d8cc6911e
commit b2efa5ee35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -551,7 +551,7 @@ is_binding_outdated(BindingId, #st{binding_starts = Starts}) ->
% Old customers will failed after `hardcoded timestamp + ?MAX_BINDING_DURATION`
BindingStart = case BindingStart0 of
undefined ->
<<"2018-09-19T09:00:00Z">>;
genlib_app:env(hellgate, legacy_customer_start, <<"2018-09-20T10:00:00Z">>);
_ ->
BindingStart0
end,