diff --git a/src/utils/PrintingService.ts b/src/utils/PrintingService.ts index 25f4fe9..61736b3 100644 --- a/src/utils/PrintingService.ts +++ b/src/utils/PrintingService.ts @@ -28,8 +28,8 @@ class PrintingService { private async print(printer: string, type: string, bytes: Uint8Array): Promise { try { let response = await axios.post(`http://${this.apiUrl}:${this.port}/print/${printer}/${type}`, bytes.buffer, { - timeout: 20 * 1000, - signal: this.newAbortSignal(20 * 1000) + timeout: 25 * 1000, + signal: this.newAbortSignal(25 * 1000) }); return response.data.ok; } catch (error) {