Skip to content
Snippets Groups Projects
Commit 562dd3a5 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

fixed naming

parent cc4d51a3
No related branches found
No related tags found
1 merge request!977Resolve "Improve token usage for users"
Pipeline #218765 passed
......@@ -20,7 +20,7 @@ const (
jwtSecretKey = "jwtSecret"
gNMISubscriptionsFilePathKey = "gNMISubscriptionsPath"
maxTokensPerUserKey = "maxTokensPerUser"
defaultMaxTokensPerUserDefault = 100
defaultMaxTokensPerUser = 100
// RabbitMQ Broker.
amqpPrefixKey = "amqpPrefix"
......@@ -128,7 +128,7 @@ func InitializeConfig() error {
MaxTokensPerUser = viper.GetInt(maxTokensPerUserKey)
if MaxTokensPerUser == 0 {
MaxTokensPerUser = defaultMaxTokensPerUserDefault
MaxTokensPerUser = defaultMaxTokensPerUser
}
GNMISubscriptionsFilePath = viper.GetString(gNMISubscriptionsFilePathKey)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment