DatabaseManager - MaxActive - Recommendation/Limit?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Rashomon
Posts: 72
Joined: 11 Aug 2010, 19:48

DatabaseManager - MaxActive - Recommendation/Limit?

Postby Rashomon » 09 Jan 2012, 19:20

My team is getting ready to roll a game out to Facebook, when I just noticed the MaxActive tag for the DatabaseManager.

I want to make sure I don't lock users out, if we have a lot of players. Can/should I set it to unlimited? If not, is there a limit to MaxActive?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 10 Jan 2012, 09:19

Yes you can do that provided that you set a reasonable amount of time for the connections to expire, otherwise you might consume too many resources (memory)
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 30 guests