Fossil SCM
Set the default backoffice-nodelay back to off.
Commit
353a4e12d598f65e121e7885daa6eb58f9f87535932c993a79b64a6de2bfe0f9
Parent
8c52c6741283f61…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/backoffice.c | ||
| +++ src/backoffice.c | ||
| @@ -598,11 +598,11 @@ | ||
| 598 | 598 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 599 | 599 | GETPID()); |
| 600 | 600 | backoffice_work(); |
| 601 | 601 | break; |
| 602 | 602 | } |
| 603 | - if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){ | |
| 603 | + if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){ | |
| 604 | 604 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 605 | 605 | ** up. Assume that some future request will come along and handle any |
| 606 | 606 | ** necessary backoffice work. */ |
| 607 | 607 | db_end_transaction(0); |
| 608 | 608 | break; |
| 609 | 609 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -598,11 +598,11 @@ | |
| 598 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 599 | GETPID()); |
| 600 | backoffice_work(); |
| 601 | break; |
| 602 | } |
| 603 | if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){ |
| 604 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 605 | ** up. Assume that some future request will come along and handle any |
| 606 | ** necessary backoffice work. */ |
| 607 | db_end_transaction(0); |
| 608 | break; |
| 609 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -598,11 +598,11 @@ | |
| 598 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 599 | GETPID()); |
| 600 | backoffice_work(); |
| 601 | break; |
| 602 | } |
| 603 | if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){ |
| 604 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 605 | ** up. Assume that some future request will come along and handle any |
| 606 | ** necessary backoffice work. */ |
| 607 | db_end_transaction(0); |
| 608 | break; |
| 609 |
M
src/db.c
+1
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -3023,11 +3023,11 @@ | ||
| 3023 | 3023 | ** If autosync is enabled setting this to a value greater |
| 3024 | 3024 | ** than zero will cause autosync to try no more than this |
| 3025 | 3025 | ** number of attempts if there is a sync failure. |
| 3026 | 3026 | */ |
| 3027 | 3027 | /* |
| 3028 | -** SETTING: backoffice-nodelay boolean default=on | |
| 3028 | +** SETTING: backoffice-nodelay boolean default=off | |
| 3029 | 3029 | ** If backoffice-nodelay is true, then the backoffice processing |
| 3030 | 3030 | ** will never invoke sleep(). If it has nothing useful to do, |
| 3031 | 3031 | ** it simply exits. |
| 3032 | 3032 | */ |
| 3033 | 3033 | /* |
| 3034 | 3034 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -3023,11 +3023,11 @@ | |
| 3023 | ** If autosync is enabled setting this to a value greater |
| 3024 | ** than zero will cause autosync to try no more than this |
| 3025 | ** number of attempts if there is a sync failure. |
| 3026 | */ |
| 3027 | /* |
| 3028 | ** SETTING: backoffice-nodelay boolean default=on |
| 3029 | ** If backoffice-nodelay is true, then the backoffice processing |
| 3030 | ** will never invoke sleep(). If it has nothing useful to do, |
| 3031 | ** it simply exits. |
| 3032 | */ |
| 3033 | /* |
| 3034 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -3023,11 +3023,11 @@ | |
| 3023 | ** If autosync is enabled setting this to a value greater |
| 3024 | ** than zero will cause autosync to try no more than this |
| 3025 | ** number of attempts if there is a sync failure. |
| 3026 | */ |
| 3027 | /* |
| 3028 | ** SETTING: backoffice-nodelay boolean default=off |
| 3029 | ** If backoffice-nodelay is true, then the backoffice processing |
| 3030 | ** will never invoke sleep(). If it has nothing useful to do, |
| 3031 | ** it simply exits. |
| 3032 | */ |
| 3033 | /* |
| 3034 |