- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 491 for Records (0.07 sec)
-
docs/en/docs/tutorial/middleware.md
And also after the `response` is generated, before returning it. For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response: ```Python hl_lines="10 12-13" {!../../docs_src/middleware/tutorial001.py!} ``` /// tip
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
test1Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{ LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: (1024 * 1024) / start.Add(2*time.Second).Sub(start.Add(1*time.Second)).Seconds(), } test2Want := make(map[BucketOptions]Details) test2Want[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: float64(oneMiB)}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
cmd/perf-tests.go
if delta < 0 { rx = 0 errStr = "network disconnection issues detected" } globalNetPerfRX.Reset() return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr} } func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult { r := &netperfReader{eof: make(chan struct{})}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1/generated.proto
// An update strategy to replace existing DaemonSet pods with new pods. // +optional optional DaemonSetUpdateStrategy updateStrategy = 3; // The minimum number of seconds for which a newly created DaemonSet pod should // be ready without any of its container crashing, for it to be considered // available. Defaults to 0 (pod will be considered available as soon as it // is ready).
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 34.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
import static java.util.concurrent.Executors.newCachedThreadPool; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.base.Stopwatch; import java.util.Collection; import java.util.List; import java.util.concurrent.ArrayBlockingQueue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 12.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
dispatcher.enqueueResponse( MockResponse.Builder() .bodyDelay(10, TimeUnit.SECONDS) .body("abc") .build(), ) dispatcher.enqueueResponse( MockResponse.Builder() .bodyDelay(10, TimeUnit.SECONDS) .body("def") .build(), ) dispatcher.enqueueResponse( MockResponse(body = "ghi"), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
docs/iam/identity-management-plugin.md
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 4.2K bytes - Viewed (0) -
tests/error_translator_test.go
if err = db.AutoMigrate(&City{}); err != nil { t.Fatalf("failed to migrate cities table, got error: %v", err) } err = db.Create(&City{Name: "Kabul"}).Error if err != nil { t.Fatalf("failed to create record: %v", err) } err = db.Create(&City{Name: "Kabul"}).Error if !errors.Is(err, gorm.ErrDuplicatedKey) { t.Fatalf("expected err: %v got err: %v", gorm.ErrDuplicatedKey, err) } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jul 12 13:21:22 UTC 2023 - 3.1K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
* `datetime.timedelta`: * A Python `datetime.timedelta`. * In requests and responses will be represented as a `float` of total seconds. * Pydantic also allows representing it as a "ISO 8601 time diff encoding", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers" class="external-link" target="_blank">see the docs for more info</a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4K bytes - Viewed (0) -
common-protos/k8s.io/api/autoscaling/v2/generated.proto
message HorizontalPodAutoscalerBehavior { // scaleUp is scaling policy for scaling Up. // If not set, the default value is the higher of: // * increase no more than 4 pods per 60 seconds // * double the number of pods per 60 seconds // No stabilization is used. // +optional optional HPAScalingRules scaleUp = 1; // scaleDown is scaling policy for scaling Down.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.3K bytes - Viewed (0)