Browse Source

adding logs, decreasing time

afeiszli 3 years ago
parent
commit
fdcb8611ff
2 changed files with 2 additions and 1 deletions
  1. 1 0
      controllers/nodeGrpcController.go
  2. 1 1
      netclient/daemon/systemd.go

+ 1 - 0
controllers/nodeGrpcController.go

@@ -148,6 +148,7 @@ func (s *NodeServiceServer) GetPeers(ctx context.Context, req *nodepb.Object) (*
 		}
 
 		peersData, err := json.Marshal(&peers)
+		functions.PrintUserLog(node.Address,"checked in successfully",3)
 		return &nodepb.Object{
 			Data: string(peersData),
 			Type: nodepb.NODE_TYPE,

+ 1 - 1
netclient/daemon/systemd.go

@@ -69,7 +69,7 @@ Description=Calls the Netmaker Mesh Client Service
 	systemtimer = systemtimer +
 		`
 
-OnCalendar=*:*:0/30
+OnCalendar=*:*:0/15
 
 [Install]
 WantedBy=timers.target