aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Wrap more with call-with-cached-connectionHEADmasterChristopher Baines2024-10-16
| | | | To close the connection in case of errors.
* Wrap more of check-removal-criteria in retry-on-errorChristopher Baines2024-10-16
| | | | As this wasn't catching exceptions in json->scm.
* Expire database connections on exceptionsChristopher Baines2024-10-05
| | | | As this might help avoid odd SQLite issues.
* Tweak dump databaseChristopher Baines2024-10-05
|
* Fix deleting recent changesChristopher Baines2024-10-05
|
* Allow specifying the minimum free spaceChristopher Baines2024-06-23
|
* Strip the database dumpChristopher Baines2024-06-22
| | | | | Of data in tables where the data shouldn't be copied automatically to mirrors.
* Check nar file sizes on importChristopher Baines2024-06-15
|
* Insert the narinfo record before moving the narChristopher Baines2024-06-15
| | | | | So that if inserting the narinfo record fails, the nars won't be moved.
* Fix make-wait-operation for use with port-pollChristopher Baines2024-06-15
|
* Use port-poll rather than selectChristopher Baines2024-06-15
| | | | Following a similar change in the build coordinator.
* Update removal criteria commentChristopher Baines2024-06-15
|
* Make the removal channel work without removal criteriaChristopher Baines2024-06-13
|
* Don't use the recent changes fiber when mirroringChristopher Baines2024-06-13
| | | | | Because this overcomplicates things. Have the fetch changes fiber trigger actions instead.
* Fix running both the nar removal and mirroring fiberChristopher Baines2024-06-13
|
* Add more logging when checking if a nar can be removedChristopher Baines2024-06-13
|
* Index narinfo_files (url)Christopher Baines2024-06-12
| | | | As this is needed by database-select-narinfo-for-file.
* Instrument request loopsChristopher Baines2024-06-12
|
* Include the pid in the starting server messageChristopher Baines2024-06-12
| | | | As this can be useful to see what process the log line relates to.
* Fix X-Accel-Redirect not matching the narinfoChristopher Baines2024-06-10
|
* Handle there not being a compression in the nar URIChristopher Baines2024-06-07
|
* Add missing uri-decodeChristopher Baines2024-06-05
|
* Always create the nar removal channelChristopher Baines2024-06-05
| | | | As this manages the metrics.
* Revert "Don't strip the Via header"Christopher Baines2024-06-05
| | | | | | As it's changing the response headers, which don't mean anything here. This reverts commit 2b8e87602bb3a43089b2303378c864da6533799d.
* Don't strip the Via headerChristopher Baines2024-06-01
|
* Add Via header loggingChristopher Baines2024-06-01
| | | | As this is important for avoiding request cycles.
* Fix removing cached narinfo files from the dbChristopher Baines2024-05-20
|
* Move nars to storage when importing narinfosChristopher Baines2024-05-19
| | | | If they're not in the storage directory.
* Update metrics after processing changesChristopher Baines2024-05-13
| | | | | As this gets less confused if processing the changes fails and is repeated.
* Show backtraces for exceptions in the recent change listenerChristopher Baines2024-05-13
|
* Fix with-port-timeouts without fibersChristopher Baines2024-05-13
|
* Simplify output when importing a single narinfoChristopher Baines2024-05-11
|
* Fix with-port-timeout exceptionsChristopher Baines2024-05-11
|
* Set %file-port-name-canonicalization to 'noneChristopher Baines2024-05-11
| | | | As this reduces syscalls.
* Count new files appropriatelyChristopher Baines2024-05-09
| | | | Rather than assuming they're not stored.
* Stop double counting new nar filesChristopher Baines2024-04-28
| | | | This is handled by listening for recent changes now.
* Guard against trying to fetch things twiceChristopher Baines2024-04-27
|
* Make get-storage-size friendly to other fibersChristopher Baines2024-04-27
|
* Fix the nar_files metric not being updated correctlyChristopher Baines2024-04-27
|
* Revert "Don't initialize storage metrics if there's no storage"Christopher Baines2024-04-27
| | | | | | As this is fine now. This reverts commit fb764aa513efd206e175a1c52d737e1e934c3ca1.
* Remove metrics-registry argument from fold-nar-filesChristopher Baines2024-04-27
| | | | As it's unused.
* Allow storage-root to be #f when calling fold-nar-filesChristopher Baines2024-04-27
| | | | To allow populating metrics when running with no storage.
* Don't initialize storage metrics if there's no storageChristopher Baines2024-04-25
|
* Fix for guile-lib v0.2.8Christopher Baines2024-04-19
| | | | | | | | | I'm not sure quite what's changed, but it seems like the way the formatter is being called has changed in a backwards incompatible way. To maintain compatability with both older and newer versions of guile-lib, accept the formatter being called with extra arguments, and just look at the first three.
* Show backtraces for exceptions in transactionsChristopher Baines2024-04-19
|
* Improve database-call-with-transactionChristopher Baines2024-04-19
| | | | By copying from the build coordinator.
* Fix use of alist-consChristopher Baines2024-04-16
|
* Guard against recent-changes being nullChristopher Baines2024-04-16
|
* Add exception handling to the addition processing channelChristopher Baines2024-04-16
|
* Log the recent changes as they're processedChristopher Baines2024-04-16
| | | | So I can check this is happening.