mirror of
https://github.com/tiennm99/BSK-All-in-One-Clinic-Management-System.git
synced 2026-10-12 14:14:47 +00:00
[update] Increase buffer sizes in Client and Server classes for improved WebSocket performance. Add logging for PDF upload processes in CheckUpPage and ServerHandler. Update binary files for barcodes and QR codes.
This commit is contained in:
1 parent
1516ed4f8c
commit
3eacc994cf
8 files changed
+6
-5
No files matched your search
@@ -2200,6 +2200,7 @@ public class ServerHandler extends SimpleChannelInboundHandler<TextWebSocketFram
|
||||
*/
|
||||
private void uploadCheckupImageToGoogleDriveAsync(String checkupId, String fileName, byte[] imageData) {
|
||||
// CẢI TIẾN: Sử dụng CompletableFuture để xử lý bất đồng bộ, hiệu quả hơn new Thread().
|
||||
log.info("uploadCheckupImageToGoogleDriveAsync");
|
||||
CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
if (!Server.isGoogleDriveConnected()) {
|
||||
|
||||
Reference in new issue
Block a user