Limit size of expensiveInvocs
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
e65215f1b5
commit
db5929f4a5
@ -299,6 +299,7 @@ var importAnalyzeCmd = &cli.Command{
|
|||||||
if len(expensiveInvocs) != 0 {
|
if len(expensiveInvocs) != 0 {
|
||||||
leastExpensiveInvoc = expensiveInvocs[len(expensiveInvocs)-1].Invoc.Duration
|
leastExpensiveInvoc = expensiveInvocs[len(expensiveInvocs)-1].Invoc.Duration
|
||||||
}
|
}
|
||||||
|
expensiveInvocs = expensiveInvocs[:30]
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user