Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for updateStats (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/site-replication-utils.go

    				wg.Wait()
    				sm.Unlock()
    			}
    			sTimer.Reset(siteResyncSaveInterval)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // update overall site resync state
    func (sm *siteResyncMetrics) updateState(s SiteResyncStatus) error {
    	if !globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	switch s.Status {
    	case ResyncStarted:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top