#Just_Me Posted June 8, 2018 Share Posted June 8, 2018 Hello guys, if there was too many resources uses a private database (dbConnect), Would that going to cause a problem ?, Like losing connection on some other resources or something ? Link to comment
Discord Moderators Pirulax Posted June 8, 2018 Discord Moderators Share Posted June 8, 2018 (edited) No,, in theory it should cause any problem(s). Edited June 8, 2018 by Pirulax 1 Link to comment
Bonsai Posted June 8, 2018 Share Posted June 8, 2018 https://wiki.multitheftauto.com/wiki/DbConnect Check the options parameters: share which can be set to 0 or 1. (Default value for SQLite is "share=1", for MySQL is "share=0"). When set to 1, the connection is shared and will be used by other calls to dbConnect with the same host string. This is usually a good thing for SQLite connections, but not so good for MySQL unless care is taken. Maybe this helps. Link to comment
#Just_Me Posted June 8, 2018 Author Share Posted June 8, 2018 No i don't mean that, I mean if there was too many connections, Like every resource has its own database. Link to comment
Discord Moderators Pirulax Posted June 9, 2018 Discord Moderators Share Posted June 9, 2018 Be realistic. It just uses RAM, nothing more.(I think) So really, that few mb(or even kb) of RAM isnt a problem I think. 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now