Skip to content

Commit

Permalink
adding in a small sleep after the endpoint is created
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Mar 8, 2024
1 parent 7e75851 commit 6997ae0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def transform_impl(self):
input_model.register_endpoint(self.output_uuid)

# This ensures that the endpoint is ready for use
time.sleep(5)
end = EndpointCore(self.output_uuid, force_refresh=True)
self.log.important(f"Endpoint {end.uuid} is ready for use")

Expand Down

0 comments on commit 6997ae0

Please sign in to comment.