Differences From Artifact [15b0eb0da4]:
- File src/backoffice.c — part of check-in [2931351893] at 2018-10-03 16:52:14 on branch trunk — Remove uncommonly used commands from the set of "common" commands in the "fossil help" listing. (user: drh size: 19598)
To Artifact [9772a0c0e4]:
- File src/backoffice.c — part of check-in [4f15d34f4b] at 2018-11-10 13:49:25 on branch trunk — Do not attempt to run backoffice if the repository is read-only. (user: drh size: 19643)
| ︙ | |||
429 430 431 432 433 434 435 436 437 438 439 440 441 442 | 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 | + |
Lease x;
sqlite3_uint64 tmNow;
sqlite3_uint64 idSelf;
int lastWarning = 0;
int warningDelay = 30;
static int once = 0;
if( sqlite3_db_readonly(g.db, 0) ) return;
backoffice_error_check_one(&once);
idSelf = backofficeProcessId();
while(1){
tmNow = time(0);
db_begin_write();
backofficeReadLease(&x);
if( x.tmNext>=tmNow
|
| ︙ |