Skip to content

Commit a2522c0

Browse files
committed
tweak debug info conversion balancing - we want to give a bit more to debuggees...
1 parent 891eaec commit a2522c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dbg_info/dbg_info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ di_async_tick(void)
728728
if(!og_is_rdi && rdi_is_stale && t->thread_count == 0)
729729
{
730730
U64 thread_count = 1;
731-
U64 max_thread_count = os_get_system_info()->logical_processor_count;
731+
U64 max_thread_count = os_get_system_info()->logical_processor_count/2;
732732
if(priority_idx > 0)
733733
{
734734
max_thread_count = Max(1, max_thread_count/2);
@@ -748,7 +748,7 @@ di_async_tick(void)
748748
//- rjf: determine if there are threads available
749749
B32 threads_available = 0;
750750
{
751-
U64 max_threads = os_get_system_info()->logical_processor_count;
751+
U64 max_threads = os_get_system_info()->logical_processor_count/2;
752752
U64 current_threads = di_shared->conversion_thread_count;
753753
U64 needed_threads = (current_threads + t->thread_count);
754754
threads_available = (max_threads >= needed_threads);

0 commit comments

Comments
 (0)