Fossil SCM
Turn backoffice-nodelay on by default.
Commit
af599d6adcd2c43c4926b4f4cb6db2138f02823c618e9b87081ee66d6fce9283
Parent
4a544e5dcb236b7…
2 files changed
+1
-1
+1
-1
+1
-1
| --- src/backoffice.c | ||
| +++ src/backoffice.c | ||
| @@ -584,11 +584,11 @@ | ||
| 584 | 584 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 585 | 585 | GETPID()); |
| 586 | 586 | backoffice_work(); |
| 587 | 587 | break; |
| 588 | 588 | } |
| 589 | - if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){ | |
| 589 | + if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){ | |
| 590 | 590 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 591 | 591 | ** up. Assume that some future request will come along and handle any |
| 592 | 592 | ** necessary backoffice work. */ |
| 593 | 593 | db_end_transaction(0); |
| 594 | 594 | break; |
| 595 | 595 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -584,11 +584,11 @@ | |
| 584 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 585 | GETPID()); |
| 586 | backoffice_work(); |
| 587 | break; |
| 588 | } |
| 589 | if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){ |
| 590 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 591 | ** up. Assume that some future request will come along and handle any |
| 592 | ** necessary backoffice work. */ |
| 593 | db_end_transaction(0); |
| 594 | break; |
| 595 |
| --- src/backoffice.c | |
| +++ src/backoffice.c | |
| @@ -584,11 +584,11 @@ | |
| 584 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 585 | GETPID()); |
| 586 | backoffice_work(); |
| 587 | break; |
| 588 | } |
| 589 | if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){ |
| 590 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 591 | ** up. Assume that some future request will come along and handle any |
| 592 | ** necessary backoffice work. */ |
| 593 | db_end_transaction(0); |
| 594 | break; |
| 595 |
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=off | |
| 3028 | +** SETTING: backoffice-nodelay boolean default=on | |
| 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=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 |
| --- 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 |