Configuration: 1) Add scheme syntax support to Preset Meta; 2) Some wrong defaults has now been fixed
This commit is contained in:
9
application/configuration/common.go
Normal file
9
application/configuration/common.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package configuration
|
||||
|
||||
func durationAtLeast(current, min int) int {
|
||||
if current > min {
|
||||
return current
|
||||
}
|
||||
|
||||
return min
|
||||
}
|
||||
Reference in New Issue
Block a user