fix: harden concurrency limits and high-RPM runtime paths

Bound request, stream, queue, and shutdown resource lifetimes. Reduce scheduler and Redis hot-path work and isolate database maintenance. Include regression coverage, load probes, and concurrency audit results.
This commit is contained in:
elky
2026-09-10 08:14:58 +08:00
parent 361952ada9
commit ecc16673eb
149 changed files with 27963 additions and 1926 deletions
@@ -52,7 +52,7 @@ pub use migrations::{
run_migrations_with_bootstrap, BootstrapFuture, PostgresMigrationBootstrap, POSTGRES_MIGRATOR,
};
pub use oauth_providers::SqlxOAuthProviderRepository;
pub use pool::{PostgresPool, PostgresPoolFactory};
pub use pool::{acquire_postgres_migration_connection, PostgresPool, PostgresPoolFactory};
pub use pool_scores::PostgresPoolMemberScoreRepository;
pub use provider_catalog::SqlxProviderCatalogReadRepository;
pub use proxy_nodes::SqlxProxyNodeRepository;