Advertisement
Guest User

Untitled

a guest
Feb 12th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. --[[
  2. Name: sv_config.lua
  3.  
  4.  
  5. ]]--
  6.  
  7. --[[ SQL Settings ]]--
  8. if DEV_SERVER then
  9. GM.Config.SQLHostName = "185.38.148.82"
  10. GM.Config.SQLUserName = ""
  11. GM.Config.SQLPassword = ""
  12. GM.Config.SQLDBName = "mesogami_santos"
  13. else
  14. GM.Config.SQLHostName = ""
  15. GM.Config.SQLUserName = ""
  16. GM.Config.SQLPassword = ""
  17. GM.Config.SQLDBName = ""
  18. end
  19.  
  20. GM.Config.SQLSnapshotRate = 5 *60 --Lower = less time between updates to sql. This value should be set with respect to the number of workers in use!
  21. GM.Config.SQLReconnectInterval = 1 *60 --Time to wait before retrying a lost sql connection
  22. GM.Config.SQLNumWriteWorkers = 8 --Number of connections to open to the sql server for writing player data with
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement