mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: spawn cache task as critical (#1633)
This commit is contained in:
@ -108,7 +108,7 @@ impl EthStateCache {
|
||||
let EthStateCacheConfig { max_block_bytes, max_env_bytes } = config;
|
||||
let (this, service) =
|
||||
Self::create(client, executor.clone(), max_block_bytes, max_env_bytes);
|
||||
executor.spawn(Box::pin(service));
|
||||
executor.spawn_critical("eth state cache", Box::pin(service));
|
||||
this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user