dunak-debug d2a9a433bb fix(callback): use process._tickCallback() fix (process.nextTick())
- this fixes whole issue with slow queries
- https://github.com/alcoholiclobster/fivem-mongodb/blob/400ac6615a334d43531a7a1824f2e8b540246fe2/index.js#L105
- setImmediate will just make performance worse
- now it also works in coroutine if yielded
- also i´m not sure why tickCallback helps, if somebody know i would be glad to know :D
- process.nextTick() is issue maybe, it works only for natives and not node functions
- process.nextTick isn't firing until the socket timeout callback fires
- discord conversation about it https://discord.com/channels/192358910387159041/433008322732490778/479523175869317130
2021-08-16 21:42:18 +02:00
2021-08-15 16:13:48 +02:00
2021-08-15 16:13:48 +02:00
2021-08-16 00:12:28 +02:00
2021-08-16 15:32:12 +02:00

oxmysql (WIP) - not ready for use

Simple and lightweight database wrapper for FiveM using https://github.com/sidorares/node-mysql2

S
Description
MySQL resource for FX Server
Readme
2 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 67.1%
Svelte 22.4%
Lua 5.1%
JavaScript 4.4%
CSS 0.5%
Other 0.5%