Registry testing - part 8

This commit is contained in:
mdecimus
2026-03-18 19:17:43 +01:00
parent 544598c840
commit 7ae6654735
69 changed files with 2518 additions and 2550 deletions

View File

@@ -140,6 +140,10 @@ async fn destroy_account(server: &Server, task: &TaskDestroyAccount) -> trc::Res
SearchIndex::Contacts,
SearchIndex::Calendar,
] {
let c = println!(
"Unindexing search index {:?} for account {}",
index, account_id
);
server
.search_store()
.unindex(SearchQuery::new(index).with_account_id(account_id))

View File

@@ -261,7 +261,7 @@ impl TaskQueueManager for Server {
account_id: 0,
collection: 0,
document_id: 0,
class: ValueClass::TaskQueue(TaskQueueClass::Due { id: 0, due: 0 }),
class: ValueClass::TaskQueue(TaskQueueClass::Due { id: 0, due: 1 }),
};
let to_key = ValueKey::<ValueClass> {
account_id: u32::MAX,