feat optimize http_task
Some checks failed
android / build (push) Failing after 18s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 8m5s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 9m21s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 8m30s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 9m5s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 8m45s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 9m35s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 10m49s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 10m14s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 9m48s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 9m57s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 10m26s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 9m27s
linux-x64-clang / linux-clang (Debug) (push) Failing after 29s
linux-x64-clang / linux-clang (Release) (push) Failing after 36s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 10m19s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 10m34s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 3h10m44s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 3h0m8s

This commit is contained in:
tqcq 2024-12-16 17:14:01 +08:00
parent 1c816c4bac
commit 17ad05ae57
2 changed files with 4 additions and 4 deletions

View File

@ -83,8 +83,8 @@ namespace tile {
template<>
struct PoolTraits<internal::HttpTaskCallContext> {
static constexpr auto kType = PoolType::MemoryNodeShared;
static constexpr std::size_t kLowWaterMark = 128;
static constexpr std::size_t kHighWaterMark = 1024;
static constexpr std::size_t kLowWaterMark = 16;
static constexpr std::size_t kHighWaterMark = 64;
static constexpr std::chrono::seconds kMaxIdle = std::chrono::seconds(10);
static constexpr std::size_t kMinimumThreadCacheSize = 1024;
static constexpr std::size_t kTransferBatchSize = 2048;

View File

@ -14,8 +14,8 @@ template<>
struct PoolTraits<testing::CachedString> {
static constexpr auto kType = PoolType::ThreadLocal;
static constexpr std::size_t kLowWaterMark = 10;
static constexpr std::size_t kHighWaterMark = 10000;
static constexpr std::size_t kLowWaterMark = 16;
static constexpr std::size_t kHighWaterMark = 128;
static constexpr auto kMaxIdle = std::chrono::seconds(10);
};