mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-03 06:28:53 +00:00
fix: performance tweaks
Moved getConnection and ScheduleResourceTick above the try block. Moved connection.release into the finally block Increased default connection timeout to 1 minute.
This commit is contained in:
1 parent
87a5123117
commit
45b90c4ad3
4 files changed
+19
-12
No files matched your search
+3
-3
@@ -95,8 +95,8 @@ try {
|
||||
return result;
|
||||
});
|
||||
}
|
||||
} catch(e) {
|
||||
} catch (e) {
|
||||
setTimeout(() => {
|
||||
console.log(`^3Unable to load enhanced sync exports (download FXServer 4837+)^0`);
|
||||
}, 1000)
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
Reference in new issue
Block a user