mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-25 16:44:01 +08:00
changing default exp time for nodes to 1000 years
This commit is contained in:
parent
1bc00067ed
commit
87727c448a
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ func(node *Node) SetLastPeerUpdate(){
|
|||
}
|
||||
|
||||
func(node *Node) SetExpirationDateTime(){
|
||||
node.ExpirationDateTime = time.Unix(1<<63-62135596801, 999999999).Unix()
|
||||
node.ExpirationDateTime = time.Unix(33174902665, 0).Unix()
|
||||
}
|
||||
|
||||
|
||||
|
@ -103,7 +103,7 @@ func(node *Node) SetDefaults() {
|
|||
//TODO: Maybe I should make Group a part of the node struct. Then we can just query the Group object for stuff.
|
||||
parentGroup, _ := node.GetGroup()
|
||||
|
||||
node.ExpirationDateTime = time.Unix(1<<63-62135596801, 999999999).Unix()
|
||||
node.ExpirationDateTime = time.Unix(33174902665, 0).Unix()
|
||||
|
||||
if node.ListenPort == 0 {
|
||||
node.ListenPort = parentGroup.DefaultListenPort
|
||||
|
|
Loading…
Reference in a new issue