freeswitch
freeswitch copied to clipboard
[mod_sofia] Add db-spin-up-wait-ms profile parameter.
Default delay 1000 milliseconds for each profile is too much for current computers. I tested with 100 ms. Start time reduce from 215 to 35 seconds (200 profiles).
@andywolk I make fixes. Please, check.
I don't sure about parameter name odbc-start-delay
. May be we should name it odbc-after-start-delay
, what do you think?
@andywolk I make fixes. Please, check.
I don't sure about parameter name
odbc-start-delay
. May be we should name itodbc-after-start-delay
, what do you think?
db-spin-up-wait-ms
may be?
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/592/artifacts.html
<!-- Default delay after starting profile with odbc-dsn is 1000 milliseconds, you can wish reduce it to 100 or 200 ms -->
does not sound right. Let's try
<!-- By default each profile will give the database 1000 ms to spin-up on load. -->
@andywolk Fixed parameter name and comment. Also I modify code for make simpler.
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/593/artifacts.html
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/594/artifacts.html