refactor: streamline asynchronous handling in config and resolve setup
This commit is contained in:
@@ -51,7 +51,11 @@ impl AsyncHandler {
|
||||
F: ?Sized,
|
||||
{
|
||||
const TRACE_MINI_SIZE: usize = 4;
|
||||
const TRACE_SPECIAL_SIZE: usize = 24;
|
||||
let size = std::mem::size_of_val(f);
|
||||
if size == TRACE_SPECIAL_SIZE {
|
||||
return;
|
||||
}
|
||||
if size <= TRACE_MINI_SIZE {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user