Overview
Comment: | Release the lock in cases where there is an sqlite3 error. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.60 |
Files: | files | file ages | folders |
SHA1: |
4174f38be9b1188359e01974e6f876f7 |
User & Date: | mrwellan on 2014-09-03 13:41:17 |
Other Links: | branch diff | manifest | tags |
Context
2014-09-03
| ||
15:22 | Increased timeouts in dot lock for portlogger check-in: c832c39e64 user: mrwellan tags: v1.60 | |
13:41 | Release the lock in cases where there is an sqlite3 error. check-in: 4174f38be9 user: mrwellan tags: v1.60 | |
11:44 | Added dot-locking around access to the portlogger db. Sqlite3 locking seems to have trouble on fast local disk sometimes (worked when system was loaded, failed when system was lightly loaded). check-in: 9db808f9fe user: mrwellan tags: v1.60 | |
Changes
Modified portlogger.scm from [1c366728ef] to [266c8500b0].
︙ | |||
32 33 34 35 36 37 38 | 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 | + - - - - - - - + + + + + + + + - - - - - - - + + + + + + | port INTEGER PRIMARY KEY, state TEXT DEFAULT 'not-used', fail_count INTEGER DEFAULT 0, update_time TIMESTAMP DEFAULT (strftime('%s','now')) );")) db)) (define (portlogger:open-run-close proc . params) (let ((fname (conc "/tmp/." (current-user-name) "-portlogger.db"))) |
︙ |