Overview
Comment: | Portlogger almost functional |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.60 |
Files: | files | file ages | folders |
SHA1: |
0a3812f5e3152100a479dc66dfb5b1c8 |
User & Date: | matt on 2014-08-26 23:14:10 |
Other Links: | branch diff | manifest | tags |
Context
2014-08-26
| ||
23:17 | Added debug to portlogger check-in: c02687e1a4 user: matt tags: v1.60 | |
23:14 | Portlogger almost functional check-in: 0a3812f5e3 user: matt tags: v1.60 | |
22:56 | Added partially implemented portlogger check-in: ce1f2b5ce1 user: matt tags: v1.60 | |
Changes
Modified http-transport.scm from [ef3af529b1] to [8af71ea3f3].
︙ | |||
134 135 136 137 138 139 140 | 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | - + | ;; This is recursively run by http-transport:run until sucessful ;; (define (http-transport:try-start-server run-id ipaddrstr portnum server-id) (handle-exceptions exn (begin (print-error-message exn) |
︙ |
Modified portlogger.scm from [2dbd78141e] to [9171034404].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + | (define (portlogger:open-db fname) (let* ((exists (file-exists? fname)) (db (sqlite3:open-database fname)) (handler (make-busy-timeout 136000)) (canwrite (file-write-access? fname))) (sqlite3:set-busy-handler! db handler) (sqlite3:execute db "PRAGMA synchronous = 0;") (if (not exists) |