Skip to content

Spawn a single Tokio runtime for the whole supervisor instead of one per chain #909

Closed
@romac

Description

Crate

relayer

Summary of Bug

The Supervisor, via the Registry, spawns a whole new Tokio runtime per chain runtime.
We should instead instantiate a single Tokio runtime in the Registry and re-use it.

Version

22a0a3f

Steps to Reproduce

n/a

Acceptance Criteria

The supervisor only spawns a single Tokio runtime via the Registry.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Assignees

Labels

A: bugAdmin: something isn't workingI: logicInternal: related to the relaying logic

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions