File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -669,7 +669,7 @@ LONG CALLBACK VectoredHeapMapper(PEXCEPTION_POINTERS info) {
669669// QFork API
670670StartupStatus QForkStartup (int argc, char ** argv) {
671671 bool foundChildFlag = false ;
672- bool foundSentinelMode = checkForSentinelMode (argc, argv);
672+ int sentinelMode = checkForSentinelMode (argc, argv);
673673 HANDLE QForkConrolMemoryMapHandle = NULL ;
674674 DWORD PPID = 0 ;
675675 __int64 maxheapBytes = -1 ;
@@ -747,7 +747,7 @@ StartupStatus QForkStartup(int argc, char** argv) {
747747 }
748748
749749 if ( maxheapBytes == -1 ) {
750- if (foundSentinelMode ) {
750+ if (sentinelMode == 1 ) {
751751 // Sentinel mode does not need a large heap. This conserves disk space and page file reservation requirements.
752752 maxheapBytes = cSentinelHeapSize;
753753 } else {
You can’t perform that action at this time.
0 commit comments