Skip to content

Commit da14c4a

Browse files
committed
inverted logic
1 parent fbe7f60 commit da14c4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_call_stack.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ static inline size_t zend_call_stack_default_size(void)
8383
#ifdef __APPLE__
8484
// https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html
8585
if (pthread_main_np()) {
86-
return 512 * 1024;
86+
return 8 * 1024 * 1024;
8787
}
88-
return 8 * 1024 * 1024;
88+
return 512 * 1024;
8989
#endif
9090

9191
return 2 * 1024 * 1024;

0 commit comments

Comments
 (0)