minimal-examples-lowlevel: fix misleading comment for the conceal value

This commit is contained in:
Lorenzo Arena 2022-08-29 09:19:37 +02:00 committed by Andy Green
parent 237506fed1
commit fc58ddbdb1
2 changed files with 6 additions and 6 deletions

View File

@ -312,9 +312,9 @@ do_retry:
* For this example, we try to conceal any problem for one set of
* backoff retries and then exit the app.
*
* If you set retry.conceal_count to be larger than the number of
* elements in the backoff table, it will never give up and keep
* retrying at the last backoff delay plus the random jitter amount.
* If you set retry.conceal_count to be LWS_RETRY_CONCEAL_ALWAYS,
* it will never give up and keep retrying at the last backoff
* delay plus the random jitter amount.
*/
if (lws_retry_sul_schedule_retry_wsi(wsi, &mco->sul, connect_client,
&mco->retry_count)) {

View File

@ -123,9 +123,9 @@ do_retry:
* For this example, we try to conceal any problem for one set of
* backoff retries and then exit the app.
*
* If you set retry.conceal_count to be larger than the number of
* elements in the backoff table, it will never give up and keep
* retrying at the last backoff delay plus the random jitter amount.
* If you set retry.conceal_count to be LWS_RETRY_CONCEAL_ALWAYS,
* it will never give up and keep retrying at the last backoff
* delay plus the random jitter amount.
*/
if (lws_retry_sul_schedule_retry_wsi(wsi, &m->sul, connect_client,
&m->retry_count)) {