Connection pooling trace

Post here your suggestions for new possible features in SmartFoxServer 2X.

Moderators: Lapo, Bax

Neznajka
Posts: 10
Joined: 14 Jun 2012, 09:12

Connection pooling trace

Postby Neznajka » 25 Jan 2013, 15:28

there is option to get connection
getParentExtension().getParentZone().getDBManager().getConnection();

it would be great to add trace if all connections are busy.

sometimes somewhere you forget to close connection and than server just don't work when this function is called in my case 10 times. at least for me it takes long time to understand what is wrong, couse of this problem is that you don't see where is the problem. if there would be some message trace or something to know that all connections are busy, there would be much easier to understand where is the problem.
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Connection pooling trace

Postby rjgtav » 27 Jan 2013, 23:56

Hi,

Currently there's a bug on the current release (2.5.0), where it was supposed to thrown an exception when the pool is full, but currently it isn't.
Stay tuned for the next update, coming this week probably, which already fixes this issue.

Thanks
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “2X Features Wish List”

Who is online

Users browsing this forum: No registered users and 1 guest