Overview
Comment: | More untested changes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | multi-area |
Files: | files | file ages | folders |
SHA1: |
76c7c0f408db5c8df0961e1a99c88a37 |
User & Date: | matt on 2015-04-05 23:25:04 |
Other Links: | branch diff | manifest | tags |
Context
2015-04-05
| ||
23:50 | Old dashboard now working check-in: 189c778920 user: matt tags: multi-area | |
23:25 | More untested changes check-in: 76c7c0f408 user: matt tags: multi-area | |
23:16 | more untested cleanup check-in: c9180c4d63 user: matt tags: multi-area | |
Changes
Modified http-transport.scm from [ac17ed4fcc] to [c343c9b304].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - + + + | (db #f) ;; (open-db)) ;; we don't want the server to be opening and closing the db unnecesarily (hostname (get-host-name)) (ipaddrstr (let ((ipstr (if (string=? "-" hostn) ;; (string-intersperse (map number->string (u8vector->list (hostname->ip hostname))) ".") (server:get-best-guess-address hostname) #f))) (if ipstr ipstr hostn))) ;; hostname))) |
︙ | |||
130 131 132 133 134 135 136 | 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | - + + + - + + + + | (begin (print-error-message exn) (if (< portnum 64000) (begin (debug:print 0 "WARNING: attempt to start server failed. Trying again ...") (debug:print 0 " message: " ((condition-property-accessor 'exn 'message) exn)) (debug:print 0 "exn=" (condition->list exn)) |
︙ | |||
396 397 398 399 400 401 402 | 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 | - + | (exit)) (loop start-time (equal? sdat last-sdat) sdat))))))) (iface (car server-info)) (port (cadr server-info)) (last-access 0) |
︙ | |||
497 498 499 500 501 502 503 | 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 | - + + + + | ;; need to delete only *my* server entry (future use) (set! *time-to-exit* #t) (if *inmemdb* (db:sync-touched *inmemdb* *run-id* force-sync: #t)) ;; ;; start_shutdown ;; (tasks:server-set-state! (db:delay-if-busy tdbdat area-dat) server-id "shutting-down") |
︙ |