mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
refactor(db): rename serverReady variable
This commit is contained in:
1 parent
2ad0539107
commit
11b21f8ed2
4 files changed
+13
-13
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { pool, serverReady, waitForConnection } from '.';
|
||||
import { pool, isServerConnected, waitForConnection } from '.';
|
||||
import { logQuery } from '../logger';
|
||||
import { CFXParameters, TransactionQuery } from '../types';
|
||||
import { parseTransaction } from '../utils/parseTransaction';
|
||||
@@ -15,7 +15,7 @@ export const rawTransaction = async (
|
||||
parameters: CFXParameters,
|
||||
callback?: (result: boolean) => void
|
||||
) => {
|
||||
if (!serverReady) await waitForConnection()
|
||||
if (!isServerConnected) await waitForConnection()
|
||||
|
||||
scheduleTick();
|
||||
|
||||
|
||||
Reference in new issue
Block a user