remove ServerCheckinInterval

orphaned by 2a5405982e
This commit is contained in:
yearski 2023-02-20 02:31:11 -07:00 committed by GitHub
parent ac0ff1fc2a
commit cc46fe3a64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -497,18 +497,6 @@ func SetNodeID(id string) {
config.Config.Server.NodeID = id
}
// GetServerCheckinInterval - gets the server check-in time
func GetServerCheckinInterval() int64 {
var t = int64(5)
var envt, _ = strconv.Atoi(os.Getenv("SERVER_CHECKIN_INTERVAL"))
if envt > 0 {
t = int64(envt)
} else if config.Config.Server.ServerCheckinInterval > 0 {
t = config.Config.Server.ServerCheckinInterval
}
return t
}
// GetAuthProviderInfo = gets the oauth provider info
func GetAuthProviderInfo() (pi []string) {
var authProvider = ""