Skip to content

experiment to return service time breakdown in results #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: branch-25.08
Choose a base branch
from

Conversation

tmckayus
Copy link
Contributor

Adding experimental code to break down service time.

@tmckayus tmckayus requested a review from a team as a code owner June 27, 2025 18:03
@tmckayus tmckayus added feature request New feature or request do not merge Do not merge if this flag is set labels Jun 27, 2025
@tmckayus tmckayus requested a review from Iroy30 June 27, 2025 18:03
@@ -269,8 +269,12 @@ def get_solution_for_id(id, delete=True):
s = saved_results[id]
if delete:
del saved_results[id]
return s.wait() + (mime_type,)
if timestamps:
return s.wait(timeout=10) + (mime_type, s.get_timestamps())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem to be having any effect and I'm not sure why. The goal was to just hardcode in a wait time so that we don't have to poll at such a low interval. Will investigate more ....

@@ -503,8 +504,10 @@ def stop_threads(log_t, inc_t, done):
raise TimeoutError(json.dumps(response))
else:
break

time.sleep(self.polling_interval)
if first_time:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skip the sleep on the first poll ....

@anandhkb anandhkb added this to the 25.08 milestone Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge Do not merge if this flag is set feature request New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants