File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -431,9 +431,9 @@ pub const FetchTasklet = struct {
431431                    this .memory_reporter .discard (scheduled_response_buffer .allocatedSlice ());
432432                    readable .ptr .Bytes .onData (
433433                        .{
434-                             // TODO: We are still investigating the memory issues with owned_and_done 
435-                             // . owned_and_done = bun.ByteList.moveFromList(scheduled_response_buffer),  
436-                             .temporary_and_done  =  bun .ByteList .fromBorrowedSliceDangerous (chunk ),
434+                             . owned_and_done   =   bun . ByteList . moveFromList ( scheduled_response_buffer ), 
435+                             // Investigate:  owned_and_done is the correct behavior, is having bigger memory usage than temporary_and_done  
436+                             //  .temporary_and_done = bun.ByteList.fromBorrowedSliceDangerous(chunk),
437437                        },
438438                        bun .default_allocator ,
439439                    );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments