Add rate limit config for lndhub-go

This commit is contained in:
Râu Cao
2022-12-24 00:58:11 +07:00
parent b738dc1e80
commit 3d7b4df376
2 changed files with 7 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ template "#{source_dir}/.env" do
custom_name: node['lndhub-go']['domain'],
port: node['lndhub-go']['port'],
admin_token: credentials['admin_token'],
default_rate_limit: node['lndhub-go']['default_rate_limit'],
strict_rate_limit: node['lndhub-go']['strict_rate_limit'],
burst_rate_limit: node['lndhub-go']['burst_rate_limit'],
branding: node['lndhub-go']['branding']
}
notifies :restart, 'service[lndhub-go]', :delayed