Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for updateStats (0.17 seconds)

  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:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

        }
    
        /**
         * Updates the git repository's tags from the specified remote
         * @param remote the remote to use to update
         */
        public void updateTags(String remote) {
            runCommand("git", "fetch", "--tags", Objects.requireNonNull(remote));
        }
    
        /**
         * Fetch all tags matching the specified pattern, returning them as {@link QualifiedVersion} instances.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
  3. 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>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  4. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  5. 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 -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. 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:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top