Skip to content

Commit

Permalink
Tuning: use exact filename lookup for tuneups.
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Feb 4, 2024
1 parent 3fd5b24 commit cbf670c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/main/resources/CacheSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1523,8 +1523,7 @@ CacheEntryPtr CacheSystem::CreateProject(CreateProjectRequest* request)
bool project_entry_created = false;
if (request->cpr_overwrite)
{
// `partial=true` because `cpr_name` is without extension
project_entry = this->FindEntryByFilename(LT_Tuneup, /*partial:*/true, request->cpr_name);
project_entry = this->FindEntryByFilename(LT_Tuneup, /*partial:*/false, fmt::format("{}.tuneup", request->cpr_name));
this->LoadResource(project_entry); // This fills `entry.resource_group`
}

Expand Down

0 comments on commit cbf670c

Please sign in to comment.