We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da2c55c commit c88a4c6Copy full SHA for c88a4c6
services/route/server.go
@@ -77,7 +77,7 @@ func (s *Server) FindRoute(ctx context.Context, req *FindRouteRequest) (*FindRou
77
delay.Sleep(config.GetRouteCalcDelay(), config.GetRouteCalcStdDev())
78
79
// Generate a random number between 3 and 45 with decimals
80
- eta := time.Duration((rand.Float64()*(45-3) + 3) * float64(time.Second))
+ eta := time.Duration((rand.Float64()*(3-45) + 3) * float64(time.Second))
81
if os.Getenv("FAST_ROUTE") != "" {
82
eta = time.Second
83
}
0 commit comments