aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
* Use the thread-pool record for the default timeout•••Rather than a parameter. HEADmasterChristopher Baines2025-02-10
* Use default io waiters in the thread pool•••To allow creating thread pools from fibers. Christopher Baines2025-02-10
* 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? option•••This is no longer relevant now that the stack is added to the compound exception. Christopher Baines2025-02-07
* 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 timeout•••By being smarter about how long to wait for replies. Christopher Baines2025-02-04
* 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 backtraces•••When using knots utilities. Christopher Baines2025-02-03
* 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 body•••To address encoding issues and improve exception handling. Christopher Baines2025-02-03
* 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 1•••So that there aren't issues with concurrent resource addition, at least by default. Christopher Baines2025-01-30
* Call web server exception handlers with the request•••So that this can be used when reporting the exception. Christopher Baines2025-01-29
* 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 server•••Inspired by the similar changes in Cuirass. Christopher Baines2025-01-25
* 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 pool•••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. Christopher Baines2025-01-14
* Tweak the resource pool•••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. Christopher Baines2025-01-09
* Add fiberize•••Not sure about the name yet, but this is useful. Christopher Baines2025-01-08
* Allow customising the resource-pool put-message timeoutChristopher Baines2025-01-08
* Export resource-pool-nameChristopher Baines2025-01-08
* Print resource pools without the channel•••Since the channel printer prints quite a lot of text. Christopher Baines2025-01-06
* 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 calls•••Incorporating changes from the nar-herder. Christopher Baines2024-12-28
* Fix a bug in fibers-batch-map (and related procedures)•••And add more tests. Christopher Baines2024-12-27
* Add call-with-sigintChristopher Baines2024-12-25
* Make the parallel operations more continuous•••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. Christopher Baines2024-12-22
* Initial commitChristopher Baines2024-12-16