- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 214 for traceCh (0.15 sec)
-
cmd/peer-rest-client.go
time.Sleep(5 * time.Second) } } }() } // Trace - send http trace request to peer nodes func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) { go func() { for { // Blocks until context is canceled or an error occurs. client.doTrace(ctx, traceCh, traceOpts) select { case <-ctx.Done(): return default:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/admin-handlers.go
if peer == nil { continue } peer.Trace(ctx, traceCh, traceOpts) } keepAliveTicker := time.NewTicker(time.Second) defer keepAliveTicker.Stop() for { select { case entry := <-traceCh: if _, err := w.Write(entry); err != nil { return } grid.PutByteBuffer(entry) if len(traceCh) == 0 { // Flush if nothing is queued xhttp.Flush(w)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
cmd/http-tracer.go
h.ServeHTTP(respRecorder, r) reqEndTime := time.Now().UTC() if globalTrace.NumSubscribers(madmin.TraceS3|madmin.TraceInternal) == 0 { // no subscribers nothing to trace. return } tt := madmin.TraceInternal if strings.HasPrefix(tc.FuncName, "s3.") { tt = madmin.TraceS3 } // Calculate input body size with headers reqHeaders := r.Header.Clone() reqHeaders.Set("Host", r.Host)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 6K bytes - Viewed (0) -
tests/tracer_test.go
func (S Tracer) Warn(ctx context.Context, s string, i ...interface{}) { S.Logger.Warn(ctx, s, i...) } func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) { S.Logger.Error(ctx, s, i...) } func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) { S.Logger.Trace(ctx, begin, fc, err) S.Test(ctx, begin, fc, err)
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Oct 18 09:28:06 UTC 2022 - 830 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java
* <li>Supports both internal session operations and client-provided trace information</li> * </ul> * * <p>For internal session operations, the trace typically contains {@code *Request} objects * that represent the current processing state. Client code can also create traces with * application-specific data to provide context when invoking session methods.</p> * * <p>This trace information is particularly useful for:</p> * <ul>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
} public void test_stackTrace() { // Test that stack trace is populated UnsupportedSearchException exception = new UnsupportedSearchException("test message"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the stack trace contains this test method boolean foundTestMethod = false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Verify that multiple threads were processed assertTrue("Should process at least one thread", threadCount.get() >= 1); assertTrue("Should have stack trace elements", stackTraceCount.get() > 0); assertTrue("Should have more stack traces than threads", stackTraceCount.get() > threadCount.get()); } public void test_processThreadDump_withException() { Consumer<String> exceptionConsumer = line -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
transitionLogIf(es.ctx, err) traceFn(ILMFreeVersionDelete, nil, err) continue } // Remove this free version _, err = es.objAPI.DeleteObject(es.ctx, oi.Bucket, oi.Name, ObjectOptions{ VersionID: oi.VersionID, InclFreeVersions: true, }) if err == nil { auditLogLifecycle(es.ctx, oi, ILMFreeVersionDelete, nil, traceFn) } if ignoreNotFoundErr(err) != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33.7K bytes - Viewed (0) -
cmd/object-handlers-common.go
Bucket: bucket, Name: dobj.ObjectName, VersionID: dobj.VersionID, } traceFn := globalLifecycleSys.trace(oi) tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent[i]).Tags() // Send audit for the lifecycle delete operation auditLogLifecycle( ctx, oi, ILMExpiry, tags, traceFn) evArgs := eventArgs{ EventName: event.ObjectRemovedDelete, BucketName: bucket,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 23 12:36:06 UTC 2025 - 15.2K bytes - Viewed (0) -
cmd/api-router.go
// // The passed in handler function must be a method of `objectAPIHandlers` for // the name displayed in logs and trace to be accurate. The name is extracted // via reflection. // // When **no** flags are passed, the behavior is to trace both headers and body, // gzip the response and throttle the handler via `maxClients`. Each of these // can be disabled via the corresponding `s3HFlag`. //
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 07 15:37:12 UTC 2025 - 23.3K bytes - Viewed (0)