Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 81ed3b4

Browse files
Cache assignable users for an hour
1 parent 4d140c6 commit 81ed3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.App/Services/PullRequestService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ public async Task<Page<ActorModel>> ReadAssignableUsers(
334334
{ nameof(after), after },
335335
};
336336

337-
return await graphql.Run(readAssignableUsers, vars);
337+
return await graphql.Run(readAssignableUsers, vars, cacheDuration: TimeSpan.FromHours(1));
338338
}
339339

340340
public IObservable<IPullRequestModel> CreatePullRequest(IModelService modelService,

0 commit comments

Comments
 (0)