Bump eager stack trace size from 10 to 30
When creating resources, 10 frames would only contain internal TF frames, which do not contain useful information. PiperOrigin-RevId: 351837613 Change-Id: Ib24db15f3d8c66a9bc1060ba951f3f930a346096
This commit is contained in:
parent
7d43911faa
commit
a70d68b3ac
@ -52,7 +52,7 @@ using StackTraceFilter = std::function<bool(const char*)>;
|
||||
// A class for capturing Python stack trace.
|
||||
class StackTrace final {
|
||||
public:
|
||||
static constexpr int kStackTraceInitialSize = 10;
|
||||
static constexpr int kStackTraceInitialSize = 30;
|
||||
|
||||
StackTrace() {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user