feat: New js sync exports (disabled by default)

New exports are faster than the lua wrapper and should be used to replace them

- Require a recent non-recommended server artifact
- If enabled, wrapper.lua should be removed

Lua 5.4 is enabled for improved memory and garbage collection when using the old wrapper
This commit is contained in:
Linden committed 2021-09-17 06:30:58 +10:00
1 parent 98a85faa1c
commit b01e30d7b1
2 files changed
+35 -4

No files matched your search

+7 -1
View File
@@ -6,6 +6,12 @@ description 'Database wrapper for FiveM utilising node-mysql2 offering improved
version '1.2.0'
url 'https://github.com/overextended/oxmysql'
author 'overextended'
use_fxv2_oal 'yes'
lua54 'yes'
server_scripts {'oxmysql.js', 'wrapper.lua'}
server_only 'true'
server_scripts {
'oxmysql.js',
'wrapper.lua'
}