Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make the backoffice-nodelay a setting visible on the settings display, and make it on by default. This is a temporary fix to avoid webserver problems until such time as I can figure out what it is about backserver sleeping that is causing the webserver to latch up. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | forum-v2 |
Files: | files | file ages | folders |
SHA3-256: |
2566a37efa5c93b42a67916b91458beb |
User & Date: | drh 2018-07-31 23:37:10.543 |
Context
2018-07-31
| ||
23:38 | Make backoffice-nodelay consistently default on. ... (check-in: 71260ba2 user: drh tags: forum-v2) | |
23:37 | Make the backoffice-nodelay a setting visible on the settings display, and make it on by default. This is a temporary fix to avoid webserver problems until such time as I can figure out what it is about backserver sleeping that is causing the webserver to latch up. ... (check-in: 2566a37e user: drh tags: forum-v2) | |
17:38 | Make the title of a deleted forum thread "(Deleted)". ... (check-in: 46697ca1 user: drh tags: forum-v2) | |
Changes
Changes to src/backoffice.c.
︙ | ︙ | |||
260 261 262 263 264 265 266 | if( g.fAnyTrace ){ fprintf(stderr, "/***** Begin Backoffice Processing %d *****/\n", getpid()); } backoffice_work(); break; } | | | 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 | if( g.fAnyTrace ){ fprintf(stderr, "/***** Begin Backoffice Processing %d *****/\n", getpid()); } backoffice_work(); break; } if( backofficeNoDelay || db_get_boolean("backoffice-nodelay",1) ){ /* If the no-delay flag is set, exit immediately rather than queuing ** up. Assume that some future request will come along and handle any ** necessary backoffice work. */ db_end_transaction(0); break; } /* This process needs to queue up and wait for the current lease |
︙ | ︙ |
Changes to src/db.c.
︙ | ︙ | |||
3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 | */ /* ** SETTING: autosync-tries width=16 default=1 ** If autosync is enabled setting this to a value greater ** than zero will cause autosync to try no more than this ** number of attempts if there is a sync failure. */ /* ** SETTING: binary-glob width=40 versionable block-text ** The VALUE of this setting is a comma or newline-separated list of ** GLOB patterns that should be treated as binary files ** for committing and merging purposes. Example: *.jpg */ #if defined(_WIN32)||defined(__CYGWIN__)||defined(__DARWIN__) | > > > > > > | 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 | */ /* ** SETTING: autosync-tries width=16 default=1 ** If autosync is enabled setting this to a value greater ** than zero will cause autosync to try no more than this ** number of attempts if there is a sync failure. */ /* ** SETTING: backoffice-nodelay boolean default=off ** If backoffice-nodelay is true, then the backoffice processing ** will never invoke sleep(). If it has nothing useful to do, ** it simply exits. */ /* ** SETTING: binary-glob width=40 versionable block-text ** The VALUE of this setting is a comma or newline-separated list of ** GLOB patterns that should be treated as binary files ** for committing and merging purposes. Example: *.jpg */ #if defined(_WIN32)||defined(__CYGWIN__)||defined(__DARWIN__) |
︙ | ︙ |