Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Remove sleep in import_blocks command #6115

@pscott

Description

@pscott

#5816 made some significant changes to the import_blocks command, but introduced a thread::sleep() in an async IO environment.

We need to remove this piece of code and replace it with a better approach (maybe using WaitLink to wake up the waker?)

Metadata

Metadata

Assignees

Labels

B0-silentChanges should not be mentioned in any release notesJ0-enhancementAn additional feature request.U1-asapNo need to stop dead in your tracks, however issue should be addressed as soon as possible.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions