Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/bunfig/bunfig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ use bun_options_types::schema::api;
use bun_options_types::command_tag::Tag as CommandTag;
use bun_options_types::context::ContextData;

pub use bun_options_types::offline_mode::OfflineMode;

// TODO: replace api.TransformOptions with Bunfig
pub(crate) struct Bunfig;

Expand Down
12 changes: 0 additions & 12 deletions src/http/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,8 +1042,6 @@ bun_core::comptime_string_map! {
// ── shared per-thread buffers ───────────────────────────────────────────
// All four are HTTP-thread-only scratch (single uws loop thread); `RacyCell`
// is the alias-safe static cell per docs/PORTING.md §Global mutable state.
const PRINT_EVERY: usize = 0;
static PRINT_EVERY_I: AtomicUsize = AtomicUsize::new(0);

// we always rewrite the entire HTTP request when write() returns EAGAIN
// so we can reuse this buffer
Expand Down Expand Up @@ -4274,16 +4272,6 @@ impl<'a> HTTPClient<'a> {
if has_more {
self.maybe_pause_receive(socket);
}

if PRINT_EVERY != 0 {
let i = PRINT_EVERY_I.fetch_add(1, Ordering::Relaxed) + 1;
if i.is_multiple_of(PRINT_EVERY) {
bun_core::prettyln!("Heap stats for HTTP thread\n");
Output::flush();
// Per-thread allocator stats are no longer collected here.
PRINT_EVERY_I.store(0, Ordering::Relaxed);
}
}
}

/// `send_progress_update_without_stage_check` minus the per-request TCP socket
Expand Down
Loading
Loading