Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for keepalive (0.06 seconds)

  1. tests/test_sse.py

        ]
        assert len(data_lines) == 2
    
    
    # Keepalive ping tests
    
    
    keepalive_app = FastAPI()
    
    
    @keepalive_app.get("/slow-async", response_class=EventSourceResponse)
    async def slow_async_stream():
        yield {"n": 1}
        # Sleep longer than the (monkeypatched) ping interval so a keepalive
        # comment is emitted before the next item.
        await asyncio.sleep(0.3)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. internal/http/dial_dnscache.go

    		lookupHost = net.DefaultResolver.LookupHost
    	}
    
    	if baseDialCtx == nil {
    		// This is same as which `http.DefaultTransport` uses.
    		baseDialCtx = (&net.Dialer{
    			Timeout:   30 * time.Second,
    			KeepAlive: 30 * time.Second,
    		}).DialContext
    	}
    
    	return func(ctx context.Context, network, addr string) (conn net.Conn, err error) {
    		host, port, err := net.SplitHostPort(addr)
    		if err != nil {
    			return nil, err
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 IO control command */
        protected static final short SMB2_IOCTL = 0x000B;
        /** SMB2 cancel command */
        protected static final short SMB2_CANCEL = 0x000C;
        /** SMB2 echo/keepalive command */
        protected static final short SMB2_ECHO = 0x000D;
        /** SMB2 query directory command */
        protected static final short SMB2_QUERY_DIRECTORY = 0x000E;
        /** SMB2 change notify command */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  4. .github/workflows/codeql-analysis.yml

          env:
            # Set the DEVELOCITY_ACCESS_KEY so that a Build Scan is generated
            DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
            # Potential stop-gap solution for ReadTimeout issues with the Gradle Build Cache
            # https://gradle.slack.com/archives/CHDLT99C6/p1636477584059200
            GRADLE_OPTS: -Dhttp.keepAlive=false
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. internal/config/notify/parse.go

    			User:                 env.Get(usernameEnv, kv.Get(target.MqttUsername)),
    			Password:             env.Get(passwordEnv, kv.Get(target.MqttPassword)),
    			MaxReconnectInterval: reconnectInterval,
    			KeepAlive:            keepAliveInterval,
    			RootCAs:              rootCAs,
    			QueueDir:             env.Get(queueDirEnv, kv.Get(target.MqttQueueDir)),
    			QueueLimit:           queueLimit,
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  6. internal/logger/target/kafka/kafka.go

    	if h.kconfig.Version != "" {
    		kafkaVersion, err := sarama.ParseKafkaVersion(h.kconfig.Version)
    		if err != nil {
    			return err
    		}
    		sconfig.Version = kafkaVersion
    	}
    
    	sconfig.Net.KeepAlive = 60 * time.Second
    	sconfig.Net.SASL.User = h.kconfig.SASL.User
    	sconfig.Net.SASL.Password = h.kconfig.SASL.Password
    	initScramClient(h.kconfig, sconfig) // initializes configured scram client.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                + ").*";
        }
    
        static String generateLeakingProcessKillPattern(String rootProjectDir) {
            String kotlinCompilerDaemonPattern = "(?:" + quote("-Dkotlin.environment.keepalive") + ".+org\\.jetbrains\\.kotlin\\.daemon\\.KotlinCompileDaemon)";
            String quotedRootProjectDir = quote(rootProjectDir);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. fastapi/routing.py

                        ObjectReceiveStream[bytes]
                    ]:
                        # Use a memory stream to decouple generator iteration
                        # from the keepalive timer. A producer task pulls items
                        # from the generator independently, so
                        # `anyio.fail_after` never wraps the generator's
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  9. cmd/metacache-server-pool.go

    				o.ID = ""
    				o.Create = false
    				o.debugln("scan status", c.status, " - waiting a roundtrip to create")
    			} else {
    				// Continue listing
    				o.ID = c.id
    				go c.keepAlive(ctx, rpc)
    			}
    		}
    	}
    
    	if o.ID != "" && !o.Transient {
    		// We have an existing list ID, continue streaming.
    		if o.Create {
    			o.debugln("Creating", o)
    			entries, err = z.listAndSave(ctx, o)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  10. internal/config/notify/legacy.go

    			Value: cfg.Password,
    		},
    		config.KV{
    			Key:   target.MqttReconnectInterval,
    			Value: cfg.MaxReconnectInterval.String(),
    		},
    		config.KV{
    			Key:   target.MqttKeepAliveInterval,
    			Value: cfg.KeepAlive.String(),
    		},
    		config.KV{
    			Key:   target.MqttQueueDir,
    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.MqttQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top