Fossil SCM
Minor tweaks to backoffice - mostly comment typo fixes.
Commit
a46e128c3f607be11e105d201c541913e650117d9ee3c3256801e3bc702ad0b7
Parent
cd532394c6fa8ea…
1 file changed
+3
-3
+3
-3
| --- src/backoffice.c | ||
| +++ src/backoffice.c | ||
| @@ -38,11 +38,11 @@ | ||
| 38 | 38 | ** process table, doing nothing on rarely accessed repositories, and |
| 39 | 39 | ** if the Fossil binary is updated on a system, the backoffice processes |
| 40 | 40 | ** will restart using the new binary automatically. |
| 41 | 41 | ** |
| 42 | 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 | |
| 43 | +** There is a main process that is doing the actual work, and there is | |
| 44 | 44 | ** a second stand-by process that is waiting for the main process to finish |
| 45 | 45 | ** and that will become the main process after a delay. |
| 46 | 46 | ** |
| 47 | 47 | ** After any successful web page reply, the backoffice_check_if_needed() |
| 48 | 48 | ** routine is called. That routine checks to see if both one or both of |
| @@ -53,11 +53,11 @@ | ||
| 53 | 53 | ** backoffice_run_if_needed() routine is called. If the prior call |
| 54 | 54 | ** to backoffice_check_if_needed() indicated that backoffice processing |
| 55 | 55 | ** might be required, the run_if_needed() attempts to kick off a backoffice |
| 56 | 56 | ** process. |
| 57 | 57 | ** |
| 58 | -** All work performance by the backoffice is in the backoffice_work() | |
| 58 | +** All work performed by the backoffice is in the backoffice_work() | |
| 59 | 59 | ** routine. |
| 60 | 60 | */ |
| 61 | 61 | #if defined(_WIN32) |
| 62 | 62 | # if defined(_WIN32_WINNT) |
| 63 | 63 | # undef _WIN32_WINNT |
| @@ -510,15 +510,15 @@ | ||
| 510 | 510 | /* This process can start doing backoffice work immediately */ |
| 511 | 511 | x.idCurrent = idSelf; |
| 512 | 512 | x.tmCurrent = tmNow + BKOFCE_LEASE_TIME; |
| 513 | 513 | x.idNext = 0; |
| 514 | 514 | x.tmNext = 0; |
| 515 | + g.zPhase = "backoffice-work"; | |
| 515 | 516 | backofficeWriteLease(&x); |
| 516 | 517 | db_end_transaction(0); |
| 517 | 518 | backofficeTrace("/***** Begin Backoffice Processing %d *****/\n", |
| 518 | 519 | GETPID()); |
| 519 | - g.zPhase = "backoffice-work"; | |
| 520 | 520 | backoffice_work(); |
| 521 | 521 | break; |
| 522 | 522 | } |
| 523 | 523 | if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",0) ){ |
| 524 | 524 | /* If the no-delay flag is set, exit immediately rather than queuing |
| 525 | 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 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 |