Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Go ahead and permanently remove the backoffice timeout mechanism, as it seems clear we will not have a use for it moving forward. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
4db384875273f5375b62758f8d5e0bcf |
User & Date: | drh 2018-08-08 23:59:54.071 |
Context
2018-08-09
| ||
03:35 | Added point about multiple copies of each matching post in web search results to the forum.wiki doc. ... (check-in: 89ab99e3 user: wyoung tags: trunk) | |
2018-08-08
| ||
23:59 | Go ahead and permanently remove the backoffice timeout mechanism, as it seems clear we will not have a use for it moving forward. ... (check-in: 4db38487 user: drh tags: trunk) | |
20:56 | Disable backoffice timeouts. This is a temporary measure to avoid a horrible bug in which a timeout causes the email notification sending process to exit before recording the fact that notifications have already been sent, and thus causing the same notifications to be sent again on the next backoffice cycle, and so forth over and over and over. ... (check-in: 628d63c4 user: drh tags: trunk) | |
Changes
Changes to src/backoffice.c.
︙ | ︙ | |||
303 304 305 306 307 308 309 | /* ** Return a process id number for the current process */ static sqlite3_uint64 backofficeProcessId(void){ return (sqlite3_uint64)GETPID(); } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 303 304 305 306 307 308 309 310 311 312 313 314 315 316 | /* ** Return a process id number for the current process */ static sqlite3_uint64 backofficeProcessId(void){ return (sqlite3_uint64)GETPID(); } /* ** COMMAND: test-process-id ** ** Usage: %fossil [--sleep N] PROCESS-ID ... ** ** Show the current process id, and also tell whether or not all other |
︙ | ︙ | |||
497 498 499 500 501 502 503 | sqlite3_uint64 tmNow; sqlite3_uint64 idSelf; int lastWarning = 0; int warningDelay = 30; static int once = 0; backoffice_error_check_one(&once); | < | 429 430 431 432 433 434 435 436 437 438 439 440 441 442 | sqlite3_uint64 tmNow; sqlite3_uint64 idSelf; int lastWarning = 0; int warningDelay = 30; static int once = 0; backoffice_error_check_one(&once); idSelf = backofficeProcessId(); while(1){ tmNow = time(0); db_begin_write(); backofficeReadLease(&x); if( x.tmNext>=tmNow && x.idNext!=idSelf |
︙ | ︙ |