aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use the thread-pool record for the default timeoutHEADmasterChristopher Baines2025-02-10
| | | | Rather than a parameter.
* Use default io waiters in the thread poolChristopher Baines2025-02-10
| | | | To allow creating thread pools from fibers.
* Avoid needlessly setting the encodingChristopher Baines2025-02-07
|
* Make more web server encoding tweaksChristopher Baines2025-02-07
|
* Tweak some web server exception handlingChristopher Baines2025-02-07
|
* Allow customising the web server read request exception handlerChristopher Baines2025-02-07
|
* Remove the fiberize show-backtrace? optionChristopher Baines2025-02-07
| | | | | This is no longer relevant now that the stack is added to the compound exception.
* Fix exception handling for fibers-batch-mapChristopher Baines2025-02-06
|
* Simplify exception handling in the web serverChristopher Baines2025-02-06
|
* Remove the resource pool reply timeoutChristopher Baines2025-02-04
| | | | By being smarter about how long to wait for replies.
* Improve resource pool performance when there are lots of waitersChristopher Baines2025-02-04
|
* Improve handling of idle resources in the resource poolChristopher Baines2025-02-04
|
* Start trying to improve exceptions and backtracesChristopher Baines2025-02-03
| | | | When using knots utilities.
* Fix idle resource removal in the resource poolChristopher Baines2025-02-03
|
* Tweak resource pool backtracesChristopher Baines2025-02-03
|
* Export the default-exception-handlerChristopher Baines2025-02-03
|
* Rework handling of using a proc for the web server response bodyChristopher Baines2025-02-03
| | | | To address encoding issues and improve exception handling.
* Rework exception handling in the web serverChristopher Baines2025-02-03
|
* Improve exception reporting in the resource poolChristopher Baines2025-02-03
|
* Guard against the remove message not workingChristopher Baines2025-02-03
|
* Fix issue with parallel creating resource pool resourcesChristopher Baines2025-02-02
|
* Improve resource pool destructionChristopher Baines2025-01-31
|
* Default to an resource-pool add-resources-parallelism of 1Christopher Baines2025-01-30
| | | | | So that there aren't issues with concurrent resource addition, at least by default.
* Call web server exception handlers with the requestChristopher Baines2025-01-29
| | | | So that this can be used when reporting the exception.
* Make the web server buffer size configurableChristopher Baines2025-01-29
|
* Add fibers-promise-result-available?Christopher Baines2025-01-29
|
* Update run-knots-web-server docstringChristopher Baines2025-01-25
|
* Make the web server exception handler configurableChristopher Baines2025-01-25
|
* Don't wait indefinitely for new requests in the web serverChristopher Baines2025-01-25
| | | | Inspired by the similar changes in Cuirass.
* Export the wait-until-port operationsChristopher Baines2025-01-23
|
* Handle when the wrong number of values is returned in the web serverChristopher Baines2025-01-23
|
* Try to better handle exceptions in the web serverChristopher Baines2025-01-23
|
* Rename worker threads to thread poolChristopher Baines2025-01-14
| | | | | | | | | I think this needs more work, maybe the thread pool should be more similar to the resource pool, but I think the name change is still helpful. Maybe there's a need for a variable size thread pool and that can better integrate with the work queue.
* Tweak the resource poolChristopher Baines2025-01-09
| | | | | | | | | Mostly to no longer sleep in the main fiber. Now the main fiber just spawns other fibers when it would previously block on put-operation and these other fibers communicate back to the main resource pool fiber when necessary. This should mean that the resource pool is more responsive.
* Add fiberizeChristopher Baines2025-01-08
| | | | Not sure about the name yet, but this is useful.
* Allow customising the resource-pool put-message timeoutChristopher Baines2025-01-08
|
* Export resource-pool-nameChristopher Baines2025-01-08
|
* Print resource pools without the channelChristopher Baines2025-01-06
| | | | Since the channel printer prints quite a lot of text.
* Support getting the pool from the timeout errorChristopher Baines2025-01-06
|
* Enable the Makefile to run testsChristopher Baines2024-12-29
|
* Consistently use non-blockingChristopher Baines2024-12-29
|
* Allow nesting worker thread callsChristopher Baines2024-12-28
| | | | Incorporating changes from the nar-herder.
* Fix a bug in fibers-batch-map (and related procedures)Christopher Baines2024-12-27
| | | | And add more tests.
* Add call-with-sigintChristopher Baines2024-12-25
|
* Make the parallel operations more continuousChristopher Baines2024-12-22
| | | | | | | | | | Instead of batching the list items, change the batch size to a parallelism limit and run up to that many fibers. When the processing of one list item finishes, another will then start immediately after, rather than when the whole batch is finished. These changes also make the fibers-map and fibers-for-each operations work with vectors as well as lists.
* Initial commitChristopher Baines2024-12-16