Fossil SCM

Minor tweaks to backoffice - mostly comment typo fixes.

drh 2025-03-31 12:28 trunk
Commit a46e128c3f607be11e105d201c541913e650117d9ee3c3256801e3bc702ad0b7
1 file changed +3 -3
--- src/backoffice.c
+++ src/backoffice.c
@@ -38,11 +38,11 @@
3838
** process table, doing nothing on rarely accessed repositories, and
3939
** if the Fossil binary is updated on a system, the backoffice processes
4040
** will restart using the new binary automatically.
4141
**
4242
** At any point in time there should be at most two backoffice processes.
43
-** There is a main process that is doing the actually work, and there is
43
+** There is a main process that is doing the actual work, and there is
4444
** a second stand-by process that is waiting for the main process to finish
4545
** and that will become the main process after a delay.
4646
**
4747
** After any successful web page reply, the backoffice_check_if_needed()
4848
** routine is called. That routine checks to see if both one or both of
@@ -53,11 +53,11 @@
5353
** backoffice_run_if_needed() routine is called. If the prior call
5454
** to backoffice_check_if_needed() indicated that backoffice processing
5555
** might be required, the run_if_needed() attempts to kick off a backoffice
5656
** process.
5757
**
58
-** All work performance by the backoffice is in the backoffice_work()
58
+** All work performed by the backoffice is in the backoffice_work()
5959
** routine.
6060
*/
6161
#if defined(_WIN32)
6262
# if defined(_WIN32_WINNT)
6363
# undef _WIN32_WINNT
@@ -510,15 +510,15 @@
510510
/* This process can start doing backoffice work immediately */
511511
x.idCurrent = idSelf;
512512
x.tmCurrent = tmNow + BKOFCE_LEASE_TIME;
513513
x.idNext = 0;
514514
x.tmNext = 0;
515
+ g.zPhase = "backoffice-work";
515516
backofficeWriteLease(&x);
516517
db_end_transaction(0);
517518
backofficeTrace("/***** Begin Backoffice Processing %d *****/\n",
518519
GETPID());
519
- g.zPhase = "backoffice-work";
520520
backoffice_work();
521521
break;
522522
}
523523
if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){
524524
/* If the no-delay flag is set, exit immediately rather than queuing
525525
--- src/backoffice.c
+++ src/backoffice.c
@@ -38,11 +38,11 @@
38 ** process table, doing nothing on rarely accessed repositories, and
39 ** if the Fossil binary is updated on a system, the backoffice processes
40 ** will restart using the new binary automatically.
41 **
42 ** At any point in time there should be at most two backoffice processes.
43 ** There is a main process that is doing the actually work, and there is
44 ** a second stand-by process that is waiting for the main process to finish
45 ** and that will become the main process after a delay.
46 **
47 ** After any successful web page reply, the backoffice_check_if_needed()
48 ** routine is called. That routine checks to see if both one or both of
@@ -53,11 +53,11 @@
53 ** backoffice_run_if_needed() routine is called. If the prior call
54 ** to backoffice_check_if_needed() indicated that backoffice processing
55 ** might be required, the run_if_needed() attempts to kick off a backoffice
56 ** process.
57 **
58 ** All work performance by the backoffice is in the backoffice_work()
59 ** routine.
60 */
61 #if defined(_WIN32)
62 # if defined(_WIN32_WINNT)
63 # undef _WIN32_WINNT
@@ -510,15 +510,15 @@
510 /* This process can start doing backoffice work immediately */
511 x.idCurrent = idSelf;
512 x.tmCurrent = tmNow + BKOFCE_LEASE_TIME;
513 x.idNext = 0;
514 x.tmNext = 0;
 
515 backofficeWriteLease(&x);
516 db_end_transaction(0);
517 backofficeTrace("/***** Begin Backoffice Processing %d *****/\n",
518 GETPID());
519 g.zPhase = "backoffice-work";
520 backoffice_work();
521 break;
522 }
523 if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){
524 /* If the no-delay flag is set, exit immediately rather than queuing
525
--- src/backoffice.c
+++ src/backoffice.c
@@ -38,11 +38,11 @@
38 ** process table, doing nothing on rarely accessed repositories, and
39 ** if the Fossil binary is updated on a system, the backoffice processes
40 ** will restart using the new binary automatically.
41 **
42 ** At any point in time there should be at most two backoffice processes.
43 ** There is a main process that is doing the actual work, and there is
44 ** a second stand-by process that is waiting for the main process to finish
45 ** and that will become the main process after a delay.
46 **
47 ** After any successful web page reply, the backoffice_check_if_needed()
48 ** routine is called. That routine checks to see if both one or both of
@@ -53,11 +53,11 @@
53 ** backoffice_run_if_needed() routine is called. If the prior call
54 ** to backoffice_check_if_needed() indicated that backoffice processing
55 ** might be required, the run_if_needed() attempts to kick off a backoffice
56 ** process.
57 **
58 ** All work performed by the backoffice is in the backoffice_work()
59 ** routine.
60 */
61 #if defined(_WIN32)
62 # if defined(_WIN32_WINNT)
63 # undef _WIN32_WINNT
@@ -510,15 +510,15 @@
510 /* This process can start doing backoffice work immediately */
511 x.idCurrent = idSelf;
512 x.tmCurrent = tmNow + BKOFCE_LEASE_TIME;
513 x.idNext = 0;
514 x.tmNext = 0;
515 g.zPhase = "backoffice-work";
516 backofficeWriteLease(&x);
517 db_end_transaction(0);
518 backofficeTrace("/***** Begin Backoffice Processing %d *****/\n",
519 GETPID());
 
520 backoffice_work();
521 break;
522 }
523 if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){
524 /* If the no-delay flag is set, exit immediately rather than queuing
525

Keyboard Shortcuts

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