- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for updateStats (0.16 sec)
-
cmd/http-tracer_test.go
} } } // TestHTTPStatsRaceCondition tests the race condition fix for HTTPStats. // This test specifically addresses the race between: // - Write operations via updateStats. // - Read operations via toServerHTTPStats(false). func TestRaulStatsRaceCondition(t *testing.T) { httpStats := newHTTPStats() // Simulate the concurrent scenario from the original race condition:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/http-stats.go
serverStats.TotalS3Canceled = ServerHTTPAPIStats{ APIStats: st.totalS3Canceled.Load(toLowerKeys), } return serverStats } // Update statistics from http request and response data func (st *HTTPStats) updateStats(api string, w *xhttp.ResponseRecorder) { st.totalS3Requests.Inc(api) // Increment the prometheus http request response histogram with appropriate labelRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 11.4K bytes - Viewed (0) -
cmd/handler-utils.go
f.ServeHTTP(w, r) globalHTTPStats.currentS3Requests.Dec(api) tc, _ := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if tc != nil { globalHTTPStats.updateStats(api, tc.ResponseRecorder) globalConnStats.incS3InputBytes(int64(tc.RequestRecorder.Size())) globalConnStats.incS3OutputBytes(int64(tc.ResponseRecorder.Size())) if countBktStat {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.4K bytes - Viewed (1) -
cmd/admin-handlers.go
if lrTime.Sub(currentReleaseTime) <= 0 { updateStatus.Results = append(updateStatus.Results, madmin.ServerPeerUpdateStatus{ Host: local, Err: fmt.Sprintf("server is running the latest version: %s", Version), CurrentVersion: Version, }) for _, client := range globalNotificationSys.peerClients { updateStatus.Results = append(updateStatus.Results, madmin.ServerPeerUpdateStatus{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 99.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE); } releaseLease(key); } catch (Exception e) { log.error("Error handling lease break for key: " + key, e); // On error, ensure we're in safe state LeaseEntry entry = leases.get(key); if (entry != null) { entry.updateState(Smb2LeaseState.SMB2_LEASE_NONE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
this.lastAccessTime = createTime; this.epoch = 1; this.breaking = false; } public synchronized void updateState(int newState) { this.leaseState = newState; this.lastAccessTime = System.currentTimeMillis(); } public synchronized void incrementEpoch() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp
<la:message key="labels.crud_button_back" /> </la:link> <c:if test="${editable}"> <button type="submit" class="btn btn-success" name="updateTags" value="<la:message key="labels.crud_button_update" />" > <i class="fa fa-pencil-alt" aria-hidden="true"></i> <la:message key="labels.crud_button_update" /> </button>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 4.4K bytes - Viewed (0) -
internal/grid/connection.go
} err = conn.SetWriteDeadline(time.Now().Add(connWriteTimeout)) if err != nil { return err } return wsutil.WriteMessage(conn, c.side, ws.OpBinary, dst) } func (c *Connection) connect() { c.updateState(StateConnecting) rng := rand.New(rand.NewSource(time.Now().UnixNano())) // Runs until the server is shut down. for { if c.State() == StateShutdown { return } dialStarted := time.Now()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 46.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/PurgeLogJob.java
logger.error("Failed to purge user info.", e); resultBuf.append(e.getMessage()).append("\n"); } // update job logs try { jobLogService.updateStatus(); } catch (final Exception e) { logger.error("Failed to purge job logs.", e); resultBuf.append(e.getMessage()).append("\n"); } return resultBuf.toString();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/JobLogService.java
/** * Updates the status of expired jobs that haven't finished. * Jobs that have been running longer than the expired job interval * without an end time are marked as failed. */ public void updateStatus() { final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval; final List<JobLog> list = jobLogBhv.selectList(cb -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0)