mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Merge "taskprocessor.c: Increase the number of tps_singletons container buckets." into 13
This commit is contained in:
@@ -114,7 +114,13 @@ struct ast_taskprocessor_listener {
|
||||
void *user_data;
|
||||
};
|
||||
|
||||
#define TPS_MAX_BUCKETS 7
|
||||
#ifdef LOW_MEMORY
|
||||
#define TPS_MAX_BUCKETS 61
|
||||
#else
|
||||
/*! \brief Number of buckets in the tps_singletons container. */
|
||||
#define TPS_MAX_BUCKETS 1567
|
||||
#endif
|
||||
|
||||
/*! \brief tps_singletons is the astobj2 container for taskprocessor singletons */
|
||||
static struct ao2_container *tps_singletons;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user