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

Dynamically reduce dartdoc timeout with total time budget option. #1323

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Jan 24, 2024

Should address dart-lang/pub-dev#7430

@isoos isoos requested review from jonasfj and sigurdm January 24, 2024 15:43
final Duration? dartdocTimeout;
final int? lineLength;

InspectOptions({
this.pubHostedUrl,
this.dartdocOutputDir,
this.totalTimeBudget,
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we document this a bit.
Can you pass both timeouts? How do they interact? Are there defaults?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated this and other options. PTAL

isoos and others added 2 commits January 25, 2024 16:28
Co-authored-by: Sigurd Meldgaard <sigurdm@google.com>
Co-authored-by: Sigurd Meldgaard <sigurdm@google.com>
@isoos isoos merged commit 38a35cf into dart-lang:master Feb 1, 2024
5 checks passed
@isoos isoos deleted the total-time branch February 1, 2024 08:37
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