Fossil SCM

Set the default backoffice-nodelay back to off.

drh 2018-08-08 18:13 backoffice-full-close
Commit 353a4e12d598f65e121e7885daa6eb58f9f87535932c993a79b64a6de2bfe0f9
2 files changed +1 -1 +1 -1
--- src/backoffice.c
+++ src/backoffice.c
@@ -598,11 +598,11 @@
598598
backofficeTrace("/***** Begin Backoffice Processing %d *****/\n",
599599
GETPID());
600600
backoffice_work();
601601
break;
602602
}
603
- if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){
603
+ if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){
604604
/* If the no-delay flag is set, exit immediately rather than queuing
605605
** up. Assume that some future request will come along and handle any
606606
** necessary backoffice work. */
607607
db_end_transaction(0);
608608
break;
609609
--- 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
+1 -1
--- src/db.c
+++ src/db.c
@@ -3023,11 +3023,11 @@
30233023
** If autosync is enabled setting this to a value greater
30243024
** than zero will cause autosync to try no more than this
30253025
** number of attempts if there is a sync failure.
30263026
*/
30273027
/*
3028
-** SETTING: backoffice-nodelay boolean default=on
3028
+** SETTING: backoffice-nodelay boolean default=off
30293029
** If backoffice-nodelay is true, then the backoffice processing
30303030
** will never invoke sleep(). If it has nothing useful to do,
30313031
** it simply exits.
30323032
*/
30333033
/*
30343034
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button