mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
codex: drop empty db-page fallback
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
co-authored by
Codex
parent
1c890935ee
commit
12839cef8a
@@ -287,12 +287,6 @@ impl RolloutRecorder {
|
||||
)
|
||||
.await
|
||||
{
|
||||
if search_term.is_none() && db_page.items.is_empty() && !fs_page.items.is_empty() {
|
||||
tracing::warn!(
|
||||
"state db discrepancy during list_threads_with_db_fallback: empty_db_page"
|
||||
);
|
||||
return Ok(truncate_fs_page(fs_page, page_size, sort_key));
|
||||
}
|
||||
return Ok(db_page.into());
|
||||
}
|
||||
// If SQLite listing still fails, return the filesystem page rather than failing the list.
|
||||
|
||||
Reference in New Issue
Block a user