mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-10 15:48:29 +02:00
Increase the timeout to 50 sec (#3481)
This commit is contained in:
@ -628,7 +628,7 @@ func (s *Server) Up(callerCtx context.Context, _ *proto.UpRequest) (*proto.UpRes
|
|||||||
s.statusRecorder.UpdateManagementAddress(s.config.ManagementURL.String())
|
s.statusRecorder.UpdateManagementAddress(s.config.ManagementURL.String())
|
||||||
s.statusRecorder.UpdateRosenpass(s.config.RosenpassEnabled, s.config.RosenpassPermissive)
|
s.statusRecorder.UpdateRosenpass(s.config.RosenpassEnabled, s.config.RosenpassPermissive)
|
||||||
|
|
||||||
timeoutCtx, cancel := context.WithTimeout(callerCtx, 10*time.Second)
|
timeoutCtx, cancel := context.WithTimeout(callerCtx, 50*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
runningChan := make(chan struct{}, 1) // buffered channel to do not lose the signal
|
runningChan := make(chan struct{}, 1) // buffered channel to do not lose the signal
|
||||||
|
Reference in New Issue
Block a user