diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-11-08 21:43:59 -0500 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-11-08 21:43:59 -0500 |
| commit | cae917ee04c1b421107108d809f545cbf414cfae (patch) | |
| tree | 0fe087c00b2caad7d316ee28fc9cf24eff7de836 /docs/design.md | |
| parent | f31b4d8188ac7e38b6c42380649691c0e8e1e097 (diff) | |
| parent | a417c62edd4d3c07ba37b01835e89ed650489e09 (diff) | |
Merge branch 'main' into wip/pwa
Diffstat (limited to 'docs/design.md')
| -rw-r--r-- | docs/design.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/design.md b/docs/design.md index 1180b83..6cd0075 100644 --- a/docs/design.md +++ b/docs/design.md @@ -1,6 +1,6 @@ # Internal design -`hi`'s design is discovered and not planned. Do not take this as doctrine; continue to experiment on the structure as you find new needs. +`pilcrow`'s design is discovered and not planned. Do not take this as doctrine; continue to experiment on the structure as you find new needs. As of this writing, the basic flow of most requests hits several subsystems: @@ -15,7 +15,7 @@ This approach helps enable testing (see [testing.md] and the implementation of m Handling time in a service is always tricky. -`hi` takes the approach that a request is considered to be serviced at one time, and that that time is determined when the request is received. The internals of `hi` - the "app" and data access types described below, as well as most other supporting tools - are written with an eye towards accepting the "current time" as an argument, rather than calling out to a clock for themselves. +`pilcrow` takes the approach that a request is considered to be serviced at one time, and that that time is determined when the request is received. The internals of `pilcrow` - the "app" and data access types described below, as well as most other supporting tools - are written with an eye towards accepting the "current time" as an argument, rather than calling out to a clock for themselves. The "current time" for a request is determined in `src/clock.rs`, which runs on every request, and is available to the handler via the `RequestedAt` extractor defined in that module. |
