Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Performance History

Latest Results

Preserve a statement cache size of 0 AsyncPostgresConfiguration resolves both cache-size arguments with `or`: self.statement_cache_size = statement_cache_size or <setting> 0 is falsy, so it is replaced by the setting, which defaults to None. The key is then never added to connect_args and asyncpg keeps its cache. 0 is not an absent value for either of these, and the settings that back them say so. statement_cache_size: "Setting this to 0 is required when using PgBouncer in transaction mode." prepared_statement_cache_size: "When set to 0, statement caching is disabled." So `or` discards exactly the value the documentation gives as the reason to set them. Resolve with `is None` instead. Passing 0 through the settings already worked, because the argument is None there and the setting is consulted; only callers constructing the configuration directly were affected. Non-zero values were already preserved and still are; the tests cover both so the fix cannot be read as special-casing zero.
ckarnell:fix/statement-cache-size-zero
2 hours ago
Apply ruff format to the new tests
vedjaw:fix/19064-cap-event-tag-related-resources
16 hours ago
style: add blank line before class definition
kingsley-123:fix/validate-negative-timeout-in-pause-flow-run
21 hours ago
style: fix ruff formatting on pytest.raises
kingsley-123:fix/validate-negative-timeout-in-pause-flow-run
21 hours ago
Merge branch 'main' into worker-start-background
SreeramaYeshwanthGowd:worker-start-background
2 days ago

Latest Branches

CodSpeed Performance Gauge
0%
Preserve a statement cache size of 0#22767
2 hours ago
b1d870e
ckarnell:fix/statement-cache-size-zero
CodSpeed Performance Gauge
+1%
Don't let a deleted working directory break all imports#22765
9 hours ago
aac3fff
fix-getcwd-in-load-module
CodSpeed Performance Gauge
0%
17 hours ago
1963382
vedjaw:fix/19064-cap-event-tag-related-resources
© 2026 CodSpeed Technology
Home Terms Privacy Docs