Skip to content

fix: Improve AutoscaledPool state management#241

Merged
janbuchar merged 2 commits intomasterfrom
better-autoscaled-pool-initialization
Jun 27, 2024
Merged

fix: Improve AutoscaledPool state management#241
janbuchar merged 2 commits intomasterfrom
better-autoscaled-pool-initialization

Conversation

@janbuchar
Copy link
Copy Markdown
Collaborator

@janbuchar janbuchar added the t-tooling Issues with this label are in the ownership of the tooling team. label Jun 27, 2024
@janbuchar janbuchar requested a review from vdusek June 27, 2024 13:05
@github-actions github-actions bot added this to the 92nd sprint - Tooling team milestone Jun 27, 2024
Copy link
Copy Markdown
Collaborator

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

just one naming question, otherwise lgtm

self.max_tasks_per_minute = max_tasks_per_minute


class AutoscaledPoolRun:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why not _AutoscaledPoolRun ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I mean, sure, let's have it that way 🙂

@janbuchar janbuchar merged commit fdea3d1 into master Jun 27, 2024
@janbuchar janbuchar deleted the better-autoscaled-pool-initialization branch June 27, 2024 14:33
@janbuchar janbuchar restored the better-autoscaled-pool-initialization branch June 27, 2024 14:33
@janbuchar janbuchar deleted the better-autoscaled-pool-initialization branch June 27, 2024 14:33
@janbuchar janbuchar mentioned this pull request Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

It should be possible to instantiate BasicCrawler outside of an async context

2 participants