Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for bursty (0.13 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistrySpec.groovy

            expect:
            all.size() == 2
            idle.size() == 2
            notIdle.empty
    
            when:
            markState(address(10), Busy)
    
            then:
            all.size() == 2
            idle.size() == 1
            notIdle.size() == 1
    
            when:
            markState(address(20), Busy)
    
            then:
            all.size() == 2
            idle.empty
            notIdle.size() == 2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    	"k8s.io/client-go/dynamic"
    )
    
    func TestChangeCRD(t *testing.T) {
    	tearDown, config, _, err := fixtures.StartDefaultServer(t)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer tearDown()
    	config.QPS = 1000
    	config.Burst = 1000
    	apiExtensionsClient, err := clientset.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    	dynamicClient, err := dynamic.NewForConfig(config)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/context.go

    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    		// Bumping this up greatly decreases install time
    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision))
    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/StartBuildOrRespondWithBusy.java

    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 {
        
        private static final Logger LOGGER = Logging.getLogger(StartBuildOrRespondWithBusy.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonRegistryUpdater.java

        }
    
        public void onStartActivity() {
            LOGGER.info("Marking the daemon as busy, address: {}", connectorAddress);
            try {
                daemonRegistry.markState(connectorAddress, Busy);
            } catch (DaemonRegistry.EmptyRegistryException e) {
                LOGGER.warn("Cannot mark daemon as busy because the registry is empty.");
            }
        }
    
        public void onCompleteActivity() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy

    import org.gradle.launcher.daemon.server.api.DaemonStateControl
    import org.gradle.internal.time.MockClock
    import spock.lang.Specification
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Busy
    
    abstract class DaemonExpirationStrategyTest extends Specification {
        DaemonRegistry registry
    
        def setup() {
            // Start with a new registry on each test.
            registry = new EmbeddedDaemonRegistry()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/net/nss_test.go

    									action: "b",
    								},
    								{
    									status: "x",
    									action: "y",
    								},
    							},
    						},
    						{source: "c"},
    					},
    				},
    			},
    		},
    
    		// Ubuntu Trusty w/ avahi-daemon, libavahi-* etc installed.
    		{
    			name: "ubuntu_trusty_avahi",
    			in:   ubuntuTrustyAvahi,
    			want: &nssConf{
    				sources: map[string][]nssSource{
    					"passwd": {{source: "compat"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:15:51 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/SynchronizedToolingImplementationLoaderTest.groovy

        def loader = new SynchronizedToolingImplementationLoader(target)
    
        def "blocks and reports progress when busy"() {
            when:
            start {
                loader.create(distro, factory, _ as InternalBuildProgressListener, params, cancellationToken)
            }
            async {
                thread.blockUntil.busy
                loader.create(distro, factory, _ as InternalBuildProgressListener, params, cancellationToken)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. cmd/listen-notification-handlers.go

    	setEventStreamHeaders(w)
    
    	// Listen Publisher and peer-listen-client uses nonblocking send and hence does not wait for slow receivers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    	mergeCh := make(chan []byte, globalAPIConfig.getRequestsPoolCapacity()*len(globalEndpoints.Hostnames()))
    	localCh := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

    import org.gradle.launcher.daemon.server.api.DaemonStateControl.State
    import org.gradle.util.GradleVersion
    
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Busy
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Canceled
    import static org.gradle.launcher.daemon.server.api.DaemonStateControl.State.Idle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top