File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -334,18 +334,15 @@ const { proxy } = createFetchGate({
334334Bun .serve ({
335335 async fetch(req ) {
336336 return proxy (req , undefined , {
337- // 🆕 Enhanced naming - more descriptive than onRequest
338337 beforeRequest : async (req , opts ) => {
339338 console .log (` 🔄 Starting request: ${req .method } ${req .url } ` )
340339 console .log (` Request timeout: ${opts .timeout }ms ` )
341340 },
342341
343- // 🆕 Enhanced naming - more descriptive than onResponse
344342 afterResponse : async (req , res , body ) => {
345343 console .log (` ✅ Request completed: ${res .status } ${res .statusText } ` )
346344 },
347345
348- // 🆕 New circuit breaker lifecycle hooks
349346 beforeCircuitBreakerExecution : async (req , opts ) => {
350347 console .log (` ⚡ Circuit breaker executing request ` )
351348 },
You can’t perform that action at this time.
0 commit comments