[Asterisk-code-review] res odbc: Use negative connection cache for all connections (asterisk[11])

Mark Michelson asteriskteam at digium.com
Wed Apr 22 14:32:34 CDT 2015


Mark Michelson has posted comments on this change.

Change subject: res_odbc: Use negative connection cache for all connections
......................................................................


Patch Set 3: Code-Review-1

(1 comment)

https://gerrit.asterisk.org/#/c/183/3/res/res_odbc.c
File res/res_odbc.c:

Line 1251: 	long int negative_cache_expiration = class->last_negative_connect.tv_sec + class->negative_connection_cache.tv_sec;
When developing against Asterisk, be sure that when you run the configure script that you add "--enable-dev-mode" . With that option, this line will not compile since you are mixing a variable declaration with code.


-- 
To view, visit https://gerrit.asterisk.org/183
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I431cc2e8584ab0b6908b3523d0a0e18c9a527271
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Martin Tomec <tomec.martin at gmail.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list