Overview
Comment: | Servers now working again |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | multi-area |
Files: | files | file ages | folders |
SHA1: |
3f14d7d23edc28f89d8809c88bc5dab8 |
User & Date: | matt on 2015-04-06 01:04:48 |
Other Links: | branch diff | manifest | tags |
Context
2015-04-06
| ||
01:09 | Servers now working again, including clean shutdown check-in: 4d4bfbb125 user: matt tags: multi-area | |
01:04 | Servers now working again check-in: 3f14d7d23e user: matt tags: multi-area | |
00:17 | More clean up check-in: 94c4b16ab4 user: matt tags: multi-area | |
Changes
Modified http-transport.scm from [e34726a39d] to [f7503f384b].
︙ | |||
142 143 144 145 146 147 148 | 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | - - + + | (debug:print 0 "WARNING: failed to start on portnum: " portnum ", trying next port") (thread-sleep! 0.1) ;; get_next_port goes here (http-transport:try-start-server run-id ipaddrstr (portlogger:open-run-close |
︙ | |||
415 416 417 418 419 420 421 | 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 | - + | ;; Use this opportunity to sync the inmemdb to db (if *inmemdb* (let ((start-time (current-milliseconds)) (sync-time #f) (rem-time #f)) ;; inmemdb is a dbstruct (condition-case |
︙ | |||
499 500 501 502 503 504 505 | 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 | - + | (http-transport:server-shutdown server-id port area-dat))))) (define (http-transport:server-shutdown server-id port area-dat) (let ((tdbdat (tasks:open-db area-dat))) (debug:print-info 0 "Starting to shutdown the server.") ;; need to delete only *my* server entry (future use) (set! *time-to-exit* #t) |
︙ |
Modified server.scm from [e081f645f7] to [027ef0dacd].
︙ | |||
235 236 237 238 239 240 241 | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | - + - + | (loop (read-line) inl)))))) (define (server:login toppath area-dat) (lambda (toppath) (set! *last-db-access* (current-seconds)) (if (equal? (megatest:area-path area-dat) toppath) (begin |
︙ |