Use timeoutInterval in ms
This commit is contained in:
parent
e473894032
commit
5d628b3a81
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ async function getDeviceIdForPing(serverUrl: string, checkDeviceId: boolean) {
|
|||
}
|
||||
|
||||
// Default timeout interval for ping is 5 seconds
|
||||
export const doPing = async (serverUrl: string, verifyPushProxy: boolean, timeoutInterval = 5) => {
|
||||
export const doPing = async (serverUrl: string, verifyPushProxy: boolean, timeoutInterval = 5000) => {
|
||||
let client: Client;
|
||||
try {
|
||||
client = await NetworkManager.createClient(serverUrl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue