Skip to content
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

Update synchronized_start_timeout to use nanoseconds #273

Merged
merged 1 commit into from
May 2, 2024

Conversation

mewil
Copy link
Contributor

@mewil mewil commented May 2, 2024

Go represents durations as a string for YAML, but as an int (nanoseconds) for JSON, so beaker-py needs to send nanoseconds to the service. I added a workaround such that the user can specify seconds instead to be more ergonomic, but am open to any alternatives.

@mewil mewil requested a review from epwalsh May 2, 2024 20:40
Copy link
Member

@epwalsh epwalsh left a comment

Choose a reason for hiding this comment

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

I'm okay with this. It would be nice to support human readable time durations like "10s", "1m", etc., but let's get this fix in ASAP.

@epwalsh epwalsh merged commit b1d4998 into main May 2, 2024
19 checks passed
@epwalsh epwalsh deleted the michaelw/sync-nanos branch May 2, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants