Skip to content

Commit 63b23e3

Browse files
authored
mwl: increase capacity for vec
1 parent 476c0fc commit 63b23e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/backend/dimse/mwl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ impl MwlService for DimseMwlService {
3232
async fn search(&self, request: MwlSearchRequest) -> MwlSearchResponse {
3333
let mut identifier = InMemDicomObject::new_empty();
3434

35-
// There are always at least 10 attributes + the query retrieve level
36-
let mut attributes = Vec::with_capacity(11);
35+
// There are always at least 23 attributes + the query retrieve level
36+
let mut attributes = Vec::with_capacity(24);
3737

3838
let default_tags = WORKITEM_SEARCH_TAGS;
3939

0 commit comments

Comments
 (0)