[OpenSIPS-Devel] [OpenSIPS/opensips] 7a5e2c: cachedb_mongodb: Avoid redundant mongoc_init() cal...
Liviu Chircu
liviu at opensips.org
Fri Aug 18 10:22:19 EDT 2017
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 7a5e2c7b42e2680b6c1cea4481940061430c17eb
https://github.com/OpenSIPS/opensips/commit/7a5e2c7b42e2680b6c1cea4481940061430c17eb
Author: Liviu Chircu <liviu at opensips.org>
Date: 2017-08-18 (Fri, 18 Aug 2017)
Changed paths:
M modules/cachedb_mongodb/cachedb_mongodb.c
Log Message:
-----------
cachedb_mongodb: Avoid redundant mongoc_init() calls
mongoc_init() is using pthread_once() anyway, so we might as well
avoid calling it multiple times.
More information about the Devel
mailing list