Skip to content

Commit

Permalink
Fix prepare connection expire
Browse files Browse the repository at this point in the history
  • Loading branch information
AderanFeng committed May 13, 2024
1 parent d0146a3 commit 9808df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bridge/SDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ class SDKBridge {

prepareWhiteConnection = (params: PrepareParams, responseCallback: any) => {
const {appId, region, expire} = params;
const expireMS = expire || 12 * 3600 * 100;
const expireMS = expire || 12 * 3600 * 1000;
prepare(appId, region as any, expireMS).then(() => {
responseCallback();
}).catch((e: Error) => {
Expand Down

0 comments on commit 9808df4

Please sign in to comment.