Skip to content

Assign Job Key ID when none supplied in produce_block_with_custom_id() #1003

Closed
@alfiedotwtf

Description

@alfiedotwtf

Currently when no custom_id is supplied to produce_block_with_custom_id(), the job manager will create the job with no key. However if invoked again while the first job is still running, as the second None key already exists from the first job, it will error with JobAlreadyExists.

This fix will generate a random key if None was provided.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions