Skip to content

Conversation

@StanByriukov02
Copy link

Hi,

This PR hardens JobScaler scaling when a user-provided concurrency_modifier returns an invalid value (None / 0 / negative / non-int), preventing crashes like:

TypeError: '<' not supported between instances of 'int' and 'NoneType'

It validates/coerces the value to a safe int >= 1 and adds unit tests for the invalid-value cases.

Related: #458

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