Fossil SCM

Turn backoffice-nodelay on by default.

drh 2018-08-08 14:40 trunk
Commit af599d6adcd2c43c4926b4f4cb6db2138f02823c618e9b87081ee66d6fce9283
2 files changed +1 -1 +1 -1
--- src/backoffice.c
+++ src/backoffice.c
@@ -584,11 +584,11 @@
584584
backofficeTrace("/***** Begin Backoffice Processing %d *****/\n",
585585
GETPID());
586586
backoffice_work();
587587
break;
588588
}
589
- if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){
589
+ if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){
590590
/* If the no-delay flag is set, exit immediately rather than queuing
591591
** up. Assume that some future request will come along and handle any
592592
** necessary backoffice work. */
593593
db_end_transaction(0);
594594
break;
595595
--- 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
+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=off
3028
+** SETTING: backoffice-nodelay boolean default=on
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=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

Keyboard Shortcuts

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