summaryrefslogtreecommitdiff
path: root/docs/design.md
diff options
context:
space:
mode:
authorKit La Touche <kit@transneptune.net>2024-11-11 14:45:39 -0500
committerKit La Touche <kit@transneptune.net>2024-11-11 14:45:39 -0500
commit02c1866661de98b325b3266015d024b1e4f6c3b6 (patch)
tree9def14624d0fab63cf4986f761326bb9fcda67d9 /docs/design.md
parente43cc0d606956c99ab109a63866f48a67aea6515 (diff)
parenta417c62edd4d3c07ba37b01835e89ed650489e09 (diff)
Merge branch 'main' into prop/message-delete
Diffstat (limited to 'docs/design.md')
-rw-r--r--docs/design.md4
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.