Timeouts when configuring users

Description

Doing operations on users using the API and a timeout of 10 seconds does not work well.

xivo-confd now reloads module res_pjsip.so which reads its configuration files multiple times (> 10).

With many users this results in a very long delay to do a reload.

The content of the file should not be re-generated for the same reload.

Zendesk Ticket IDs

None

Activity

François Blackburn December 12, 2018 at 7:14 PM

Miss some documentation for --invalidate/--cached flags

Pascal Cadotte December 8, 2018 at 6:31 PM

I added 2 options to xivo-confgen, --cached which will return the cached content of the configuration file if its available and --invalidate which will remove the cached version.

In xivo-sysconfd when a pjsip reload is required, the cache is first invalidated and the configuration file now contains the --cached flag which will only regenerate the content of the file the first time it will be read since the cache has been removed.

Done

Details

Priority

Assignee

Reporter

Approvers

François Blackburn

Fix versions

Sprint

Zendesk Support

Created December 6, 2018 at 4:50 PM
Updated January 18, 2019 at 3:38 PM
Resolved December 14, 2018 at 4:06 PM