Skip to content

Commit a99f739

Browse files
author
GHMatti
authored
Merge pull request #127 from brouznouf/patch-etimeoutd
Possible timeout fix
2 parents 712c3ba + ba6d581 commit a99f739

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-async.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5173,7 +5173,7 @@ global.exports('mysql_transaction', (querys, values, callback) => {
51735173
let isReady = false;
51745174
global.exports('is_ready', () => isReady);
51755175

5176-
global.on('onServerResourceStart', (resourcename) => {
5176+
global.on('onResourceStart', (resourcename) => {
51775177
if (resourcename === 'mysql-async') {
51785178
const trace = global.GetConvarInt('mysql_debug', 0);
51795179
const slowQueryWarningTime = global.GetConvarInt('mysql_slow_query_warning', 200);

src/entry/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ global.exports('mysql_transaction', (querys, values, callback) => {
6767
let isReady = false;
6868
global.exports('is_ready', () => isReady);
6969

70-
global.on('onServerResourceStart', (resourcename) => {
70+
global.on('onResourceStart', (resourcename) => {
7171
if (resourcename === 'mysql-async') {
7272
const trace = global.GetConvarInt('mysql_debug', 0);
7373
const slowQueryWarningTime = global.GetConvarInt('mysql_slow_query_warning', 200);

0 commit comments

Comments
 (0)