Skip to content

Commit

Permalink
fix: timeout for identities/CommandAuthenticate is now 2 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
amydevs committed Nov 9, 2023
1 parent ec3732f commit 8d2b8e6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/identities/CommandAuthenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ class CommandAuthenticate extends CommandPolykey {
metadata: auth,
providerId: providerId,
},
{
timer: 120000, // 2 minutes
},
);
for await (const message of genReadable) {
if (message.request != null) {
Expand Down

0 comments on commit 8d2b8e6

Please sign in to comment.