This commit is contained in:
Siarhei Fedartsou 2024-05-28 15:23:55 +02:00
parent 244f953821
commit dd63632a42

View File

@ -40,7 +40,7 @@ class OSRMTasks(TaskSet):
@task
def get_match(self):
num_coords = random.randint(100, 200)
num_coords = random.randint(100, 150)
track_id = random.choice(self.track_ids)
track_coords = self.tracks[track_id][:num_coords]
coords_str = ";".join([f"{coord[1]:.6f},{coord[0]:.6f}" for coord in track_coords])