Commit 56af2d4c authored by Alexandru Gheorghe's avatar Alexandru Gheorghe Committed by GitHub
Browse files

av-store: Move prune on a separate thread (#7263)

* av-store: Move prune on a separate thread

There are situations where pruning of the data could take more than a few
seconds and that might make the whole subsystem unreponsive. To avoid this just
move the prune process on a separate thread.

See: https://github.com/paritytech/polkadot/issues/7237

, for more details.

Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>

* av-store: Add log that prunning started

Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>

* av-store: modify log severity

Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>

---------

Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>
parent ef6ae485
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment