Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for squatting (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    	// NOTE: both WithWaitGroup and WithRetryAfter must use the same exact isRequestExemptFunc 'isRequestExemptFromRetryAfter,
    	// otherwise SafeWaitGroup might wait indefinitely and will prevent the server from shutting down gracefully.
    	return withWaitGroup(handler, longRunning, wg, isRequestExemptFromRetryAfter)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination.go

    			// When apiserver is shutting down, signal clients to retry
    			// There is a good chance the client hit a different server, so a tight retry is good for client responsiveness.
    			waitGroupWriteRetryAfterToResponse(w)
    			return
    		}
    
    		// attach ServerShutdownSignal to the watch request so that the
    		// watch handler loop can return as soon as the server signals
    		// that it is shutting down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. build/pause/windows/pause.c

    #ifndef VERSION
    #define VERSION HEAD
    #endif
    
    BOOL WINAPI CtrlHandler(DWORD fdwCtrlType)
    {
    	switch (fdwCtrlType)
    	{
    	case CTRL_C_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	case CTRL_BREAK_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	default:
    		return FALSE;
    	}
    }
    
    int main(int argc, char **argv)
    {
    	int i;
    	for (i = 1; i < argc; ++i)
    	{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 13:09:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. pilot/pkg/server/instance_test.go

    			// This is used to verify that we don't wait for it while shutting down.
    			c:     newFakeComponent(longDuration, stop),
    			async: false,
    			wait:  false,
    		},
    		{
    			name: "RunComponentAsync",
    			// Use a large duration - it will not complete before the end of the test.
    			// This is used to verify that we don't wait for it while shutting down.
    			c:     newFakeComponent(longDuration, stop),
    			async: true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 23:02:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/cmd/bisect/go120.go

    //go:build go1.20
    
    package main
    
    import (
    	"os"
    	"os/exec"
    	"time"
    )
    
    func cmdInterrupt(cmd *exec.Cmd) {
    	cmd.Cancel = func() error {
    		// On timeout, send interrupt,
    		// in hopes of shutting down process tree.
    		// Ignore errors sending signal; it's all best effort
    		// and not even implemented on Windows.
    		// TODO(rsc): Maybe use a new process group and kill the whole group?
    		cmd.Process.Signal(os.Interrupt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:10 UTC 2023
    - 628 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/ShutdownParameters.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.tooling.internal.protocol;
    
    /**
     * The parameters for shutting down a provider connection.
     *
     * <p>This is a marker interface. Instances are queried dynamically to see which parameters they support.
     *
     * @since 2.2-rc-1
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 936 bytes
    - Viewed (0)
  7. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/scan/eob/BuildScanEndOfBuildNotifier.java

        interface BuildScanResult {
    
        }
    
        interface Listener {
            /**
             * Called after all user build logic has completed and the build outcome reported to the logging system. Also called prior to shutting down the build(-tree) scope services
             */
            BuildScanResult execute(BuildResult buildResult);
        }
    
        void notify(Listener listener);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. cluster/gce/gci/shutdown.sh

    preemptible=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/scheduling/preemptible" -H "Metadata-Flavor: Google")
    if [ "${preemptible}" == "TRUE" ]; then
        echo "Shutting down! Sleeping for a minute to let the node gracefully terminate"
        # https://cloud.google.com/compute/docs/instances/stopping-or-deleting-an-instance#delete_timeout
        sleep 30
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 03:46:45 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  9. src/net/write_unix_test.go

    package net
    
    import (
    	"bytes"
    	"syscall"
    	"testing"
    	"time"
    )
    
    // Test that a client can't trigger an endless loop of write system
    // calls on the server by shutting down the write side on the client.
    // Possibility raised in the discussion of https://golang.org/cl/71973.
    func TestEndlessWrite(t *testing.T) {
    	t.Parallel()
    	c := make(chan bool)
    	server := func(cs *TCPConn) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top