Skip to content

Commit 6877aea

Browse files
authored
Merge pull request #293 from billba/master
longer timeouts for Direct Line
2 parents 496f43d + ba52d76 commit 6877aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directLine.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface ActivityGroup {
1616

1717
const lifetimeRefreshToken = 30 * 60 * 1000;
1818
const intervalRefreshToken = lifetimeRefreshToken / 2;
19-
const timeout = 5 * 1000;
19+
const timeout = 20 * 1000;
2020
const retries = (lifetimeRefreshToken - intervalRefreshToken) / timeout;
2121

2222
const errorExpiredToken = new Error("expired token");

0 commit comments

Comments
 (0)