Skip to content

docs: use single splat in key argument for limits_concurrency#749

Open
G-Rath wants to merge 1 commit into
rails:mainfrom
G-Rath:patch-1
Open

docs: use single splat in key argument for limits_concurrency#749
G-Rath wants to merge 1 commit into
rails:mainfrom
G-Rath:patch-1

Conversation

@G-Rath

@G-Rath G-Rath commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Using a double splat means that an error will be raised if more than two non-keyword arguments are passed to the job, whereas a single splat will eat additional arguments of either type.

I think this makes for a better doc since people copy-and-pasting are hopefully less likely to end up with a timebomb that could explode in production

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.

1 participant