Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 244 for Idle (0.04 sec)

  1. src/runtime/lock_js.go

    		gp:       getg(),
    		returned: false,
    	}
    	events = append(events, e)
    
    	if !eventHandler() {
    		// If we did not handle a window event, the idle timeout was triggered, so we can clear it.
    		clearIdleTimeout()
    	}
    
    	// wait until all goroutines are idle
    	e.returned = true
    	gopark(nil, nil, waitReasonZero, traceBlockGeneric, 1)
    
    	events[len(events)-1] = nil
    	events = events[:len(events)-1]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Busy
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle
    
    class DefaultDaemonConnectorTest extends Specification {
    
        def javaHome = new File("tmp")
        def connectTimeoutSecs = 1
        def daemonCounter = 0
    
        class OutgoingConnectorStub implements OutgoingConnector {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultWorkInProgressFormatterTest.groovy

            given:
            def operation = new ProgressOperation(null, null, new OperationIdentifier(1), null)
    
            expect:
            statusBarFormatter.format(operation).first().text == "> IDLE"
            statusBarFormatter.format(operation).first().style == StyledTextOutput.Style.Normal
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/AsyncDispatchTest.groovy

        def 'dispatches message to an idle target'() {
            when:
            dispatch.dispatchTo(target1)
            dispatch.dispatch('message1')
            dispatch.dispatch('message2')
            dispatch.stop()
    
            then:
            1 * target1.dispatch('message1')
            then:
            1 * target1.dispatch('message2')
        }
    
        def 'dispatch does not block while no idle target available'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. src/database/sql/sql.go

    	maxIdleTime       time.Duration          // maximum amount of time a connection may be idle before being closed
    	cleanerCh         chan struct{}
    	waitCount         int64 // Total number of connections waited for.
    	maxIdleClosed     int64 // Total number of connections closed due to idle count.
    	maxIdleTimeClosed int64 // Total number of connections closed due to idle time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/AsyncConsumerActionExecutor.java

         */
        void stop();
    
        String getDisplayName();
    
        /**
         * Requests cancellation on the current operation and send a 'stop when idle' message to the daemon.
         */
        void disconnect();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. 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)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java

                return;
            }
    
            try {
                // Close expired connections
                clientConnectionManager.closeExpiredConnections();
                // Close idle connections
                clientConnectionManager.closeIdleConnections(idleConnectionTimeout, TimeUnit.MILLISECONDS);
            } catch (final Exception e) {
                logger.warn("A connection monitoring exception occurs.", e);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top