Merge pull request #11470 from thalesmg/gcp-consumer-rm-worker-pool-size-r52-20230817

fix(gcp_consumer): remove unused resource_opts fields
This commit is contained in:
Thales Macedo Garitezi 2023-08-21 14:49:59 -03:00 committed by GitHub
commit 74d4a8325e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -212,11 +212,8 @@ fields("consumer_resource_opts") ->
[{health_check_interval, #{default => <<"30s">>}}]
),
SupportedFields = [
auto_restart_interval,
health_check_interval,
request_ttl,
resume_interval,
worker_pool_size
request_ttl
],
lists:filter(
fun({Field, _Sc}) -> lists:member(Field, SupportedFields) end,