Overview
Comment: | key is todisk, not todest. Although todest would be more sensible but the attach sync prevents being sensible. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.80 |
Files: | files | file ages | folders |
SHA1: |
de7cca3a6298383334969c5f236097a5 |
User & Date: | matt on 2023-05-13 20:11:39 |
Other Links: | branch diff | manifest | tags |
Context
2023-05-13
| ||
22:37 | Remove traces of inmem check-in: 5a507eea4f user: matt tags: v1.80 | |
20:11 | key is todisk, not todest. Although todest would be more sensible but the attach sync prevents being sensible. check-in: de7cca3a62 user: matt tags: v1.80 | |
00:27 | Turned off sync when direct-to-db mode 'none is used check-in: 49befe770d user: matt tags: v1.80 | |
Changes
Modified dbmod.scm from [0f5df22242] to [a109383da4].
︙ | |||
236 237 238 239 240 241 242 | 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 | - + - - + + - | (dbmod:sync-gasket tables #f inmem db dbfullname 'fromdest keys) ;; ) ;; load into inmem (dbr:dbstruct-last-update-set! dbstruct (current-seconds)) ;; should this be offset back in time by one second? dbstruct)) ;; (if (eq? syncdir 'todisk) ;; sync to disk normally, sync from in dashboard ;; (dbmod:sync-tables tables last-update inmem db) ;; (dbmod:sync-tables tables last-update db inmem)))) |
︙ | |||
798 799 800 801 802 803 804 | 797 798 799 800 801 802 803 804 805 806 807 808 809 | - + | (if copied (begin (debug:print-info 0 *default-log-port* "db-to-db-sync done with file-copy") #t) (let* ((tables (db:sync-all-tables-list keys)) (sdb (dbmod:safely-open-db src-db init-proc #t)) (ddb (dbmod:safely-open-db dest-db init-proc d-wr)) |