Browse Source

Fix for default values for claiming queue and duration

pull/4287/head
zbeacon 6 years ago
committed by Andrew Shvayka
parent
commit
9746df84ea
  1. 6
      application/src/main/resources/thingsboard.yml

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

@ -110,7 +110,7 @@ security:
# Enable/disable claiming devices, if false -> the device's [claimingAllowed] SERVER_SCOPE attribute must be set to [true] to allow claiming specific device # Enable/disable claiming devices, if false -> the device's [claimingAllowed] SERVER_SCOPE attribute must be set to [true] to allow claiming specific device
allowClaimingByDefault: "${SECURITY_CLAIM_ALLOW_CLAIMING_BY_DEFAULT:true}" allowClaimingByDefault: "${SECURITY_CLAIM_ALLOW_CLAIMING_BY_DEFAULT:true}"
# Time allowed to claim the device in milliseconds # Time allowed to claim the device in milliseconds
duration: "${SECURITY_CLAIM_DURATION:60000}" # 1 minute, note this value must equal claimDevices.timeToLiveInMinutes value duration: "${SECURITY_CLAIM_DURATION:86400000}" # 1 minute, note this value must equal claimDevices.timeToLiveInMinutes value
basic: basic:
enabled: "${SECURITY_BASIC_ENABLED:false}" enabled: "${SECURITY_BASIC_ENABLED:false}"
oauth2: oauth2:
@ -348,8 +348,8 @@ caffeine:
timeToLiveInMinutes: 1440 timeToLiveInMinutes: 1440
maxSize: 0 maxSize: 0
claimDevices: claimDevices:
timeToLiveInMinutes: 1 timeToLiveInMinutes: 1440
maxSize: 0 maxSize: 1000
securitySettings: securitySettings:
timeToLiveInMinutes: 1440 timeToLiveInMinutes: 1440
maxSize: 0 maxSize: 0

Loading…
Cancel
Save