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

feat: add getRemainingTimeInMillis to context #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

loredanamoanga
Copy link

No description provided.

@loredanamoanga loredanamoanga requested a review from a team as a code owner September 22, 2023 12:32
@loredanamoanga
Copy link
Author

loredanamoanga commented Sep 22, 2023

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @loredanamoanga and the rest of your teammates on Graphite Graphite

@@ -37,6 +37,7 @@ export async function context<Configuration = never, Service = never, Profile =
requestId: string({ minLength: 2 }),
traceId: string({ minLength: 2 }),
isSensitive: constant(isSensitive ?? false),
getRemainingTimeInMillis: constant(() => integer({ min: 6000, max: 60000 })),
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be () => constant(integer({ min: 6000, max: 60000 }))?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants