Browse Source

added description for the network config

pull/5577/head
YevhenBondarenko 5 years ago
parent
commit
0909603ae5
  1. 6
      application/src/main/resources/thingsboard.yml
  2. 6
      transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml

6
application/src/main/resources/thingsboard.yml

@ -819,9 +819,9 @@ transport:
log_max_length: "${LWM2M_LOG_MAX_LENGTH:1024}" log_max_length: "${LWM2M_LOG_MAX_LENGTH:1024}"
# Use redis for Security and Registration stores # Use redis for Security and Registration stores
redis.enabled: "${LWM2M_REDIS_ENABLED:false}" redis.enabled: "${LWM2M_REDIS_ENABLED:false}"
network_config: network_config: # In this section you can specify custom parameters for LwM2M network configuration and expose the env variables to configure outside
- key: "PROTOCOL_STAGE_THREAD_COUNT" # - key: "PROTOCOL_STAGE_THREAD_COUNT"
value: "${LWM2M_PROTOCOL_STAGE_THREAD_COUNT:12}" # value: "${LWM2M_PROTOCOL_STAGE_THREAD_COUNT:4}"
snmp: snmp:
enabled: "${SNMP_ENABLED:true}" enabled: "${SNMP_ENABLED:true}"
response_processing: response_processing:

6
transport/lwm2m/src/main/resources/tb-lwm2m-transport.yml

@ -204,9 +204,9 @@ transport:
paging_transmission_window: "${LWM2M_PAGING_TRANSMISSION_WINDOW:10000}" paging_transmission_window: "${LWM2M_PAGING_TRANSMISSION_WINDOW:10000}"
# Use redis for Security and Registration stores # Use redis for Security and Registration stores
redis.enabled: "${LWM2M_REDIS_ENABLED:false}" redis.enabled: "${LWM2M_REDIS_ENABLED:false}"
network_config: network_config: # In this section you can specify custom parameters for LwM2M network configuration and expose the env variables to configure outside
- key: "PROTOCOL_STAGE_THREAD_COUNT" # - key: "PROTOCOL_STAGE_THREAD_COUNT"
value: "${LWM2M_PROTOCOL_STAGE_THREAD_COUNT:12}" # value: "${LWM2M_PROTOCOL_STAGE_THREAD_COUNT:4}"
stats: stats:
enabled: "${TB_TRANSPORT_STATS_ENABLED:true}" enabled: "${TB_TRANSPORT_STATS_ENABLED:true}"
print-interval-ms: "${TB_TRANSPORT_STATS_PRINT_INTERVAL_MS:60000}" print-interval-ms: "${TB_TRANSPORT_STATS_PRINT_INTERVAL_MS:60000}"

Loading…
Cancel
Save