#607: second part

This commit is contained in:
Cameron Kaiser 2020-08-13 21:31:41 -07:00
parent 31ccb2ec86
commit 55572f5ec1
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ using mozilla::dom::indexedDB::IndexedDatabaseManager;
// Half the size of the actual C stack, to be safe.
// We need a little larger than regular Firefox.
#define WORKER_CONTEXT_NATIVE_STACK_LIMIT 512 * sizeof(size_t) * 1024
// This should be less than kWorkerStackSize in WorkerThread.cpp.
#define WORKER_CONTEXT_NATIVE_STACK_LIMIT 15360 * sizeof(size_t) * 1024
// The maximum number of threads to use for workers, overridable via pref.
#define MAX_WORKERS_PER_DOMAIN 10