Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 255 for Idle (0.18 sec)

  1. testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy

            }
            numberOfOverflows <= numberOfRuns / 10
        }
    
        def "file watching works with many changes between two builds"() {
            // Use 40 minutes idle timeout since the test may be running longer with an idle daemon
            executer.withDaemonIdleTimeoutSecs(2400)
            def numberOfChangedSourcesFilesPerBatch = maxFileChangesWithoutOverflow
            def numberOfChangeBatches = 500
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java

         */
        File getDaemonRegistryDir();
    
        /**
         * The process id of the daemon.
         */
        Long getPid();
    
        /**
         * The daemon's idle timeout in milliseconds.
         */
        Integer getIdleTimeout();
    
        /**
         * Returns the JVM options that the daemon was started with.
         *
         * @return the JVM options that the daemon was started with
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonIdleTimeoutExpirationStrategy.java

    public class DaemonIdleTimeoutExpirationStrategy implements DaemonExpirationStrategy {
        private final Function<?, Long> idleTimeout;
        private final Daemon daemon;
    
        public static final String EXPIRATION_REASON = "after being idle";
    
        public DaemonIdleTimeoutExpirationStrategy(Daemon daemon, int idleTimeout, TimeUnit timeUnit) {
            this(daemon, Functions.constant(timeUnit.toMillis(idleTimeout)));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                illegalState()
    
            private
            fun illegalState(): Nothing =
                throw IllegalStateException("Operation is not valid in ${javaClass.simpleName} state.")
    
            class Idle(
                private val onFirstDiagnostic: (kind: DiagnosticKind, problem: PropertyProblem) -> State
            ) : State() {
    
                /**
                 * There's nothing to write, return null.
                 */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/LegacyDaemon.groovy

                logFileProbe = new DaemonLogFileStateProbe(daemonLog, context)
            } else {
                logFileProbe = new DaemonLogFileStateProbe(daemonLog, context, "Daemon is busy, sleeping until state changes", "Daemon is idle, sleeping until state change")
            }
        }
    
        protected void waitForState(State state) {
            def timer = Time.startCountdownTimer(STATE_CHANGE_TIMEOUT)
            def lastLogState = logFileProbe.currentState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/no-restraint.go

    	return noRestraintRequest{}, false
    }
    
    func (noRestraint) Dump(bool) debug.QueueSetDump {
    	return debug.QueueSetDump{}
    }
    
    func (noRestraintRequest) Finish(execute func()) (idle bool) {
    	execute()
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 17:37:20 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. cmd/metrics-resource.go

    			if ts != nil {
    				tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    				cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    				cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    				updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    				cpuIdleVal := math.Round(ts.Idle/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/networkfilter_test.go

    	cases := []struct {
    		name        string
    		idleTimeout string
    		expected    *durationpb.Duration
    	}{
    		{
    			"no idle timeout",
    			"",
    			nil,
    		},
    		{
    			"invalid timeout",
    			"invalid-30s",
    			nil,
    		},
    		{
    			"valid idle timeout 30s",
    			"30s",
    			durationpb.New(30 * time.Second),
    		},
    	}
    
    	services := []*model.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/StartBuildOrRespondWithBusy.java

    import org.gradle.launcher.daemon.server.api.DaemonStateControl;
    import org.gradle.launcher.daemon.server.api.DaemonStoppedException;
    import org.gradle.launcher.daemon.server.api.DaemonUnavailableException;
    
    /**
     * Updates the daemon idle/busy status, sending a DaemonUnavailable result back to the client if the daemon is busy.
     */
    public class StartBuildOrRespondWithBusy extends BuildCommandOnly {
        
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/JavaSystemPropertiesHttpTimeoutSettingsTest.groovy

            expect:
            settings.socketTimeoutMs == DEFAULT_SOCKET_TIMEOUT
    
            where:
            timeout << ["", "abc"]
        }
    
        def "uses default value if provided idle connection timeout is not valid"() {
            System.setProperty(IDLE_CONNECTION_TIMEOUT_SYSTEM_PROPERTY, timeout)
            JavaSystemPropertiesHttpTimeoutSettings settings = new JavaSystemPropertiesHttpTimeoutSettings()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top