wxiaoguang
6d5aa9218e
Refactor request context ( #32956 )
...
Introduce RequestContext: is a short-lived context that is used to store
request-specific data.
RequestContext could be used to clean form tmp files, close context git
repo, and do some tracing in the future.
Then a lot of legacy code could be removed or improved. For example:
most `ctx.Repo.GitRepo.Close()` could be removed because the git repo
could be closed when the request is done.
2024-12-24 11:43:57 +08:00
..
2024-07-29 18:46:45 +00:00
2024-02-27 08:12:22 +01:00
2024-06-19 06:32:45 +08:00
2024-12-24 11:43:57 +08:00
2024-11-22 10:44:48 -05:00
2024-09-24 01:00:09 +00:00
2024-12-24 11:43:57 +08:00
2024-12-24 11:43:57 +08:00
2024-12-24 11:43:57 +08:00
2024-11-18 03:06:25 +00:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-11-06 21:34:32 +00:00
2024-11-06 21:34:32 +00:00
2024-06-19 06:32:45 +08:00
2024-12-15 02:31:07 +00:00
2024-12-10 18:42:52 +00:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-06-19 06:32:45 +08:00
2024-11-05 07:46:40 +00:00
2024-12-18 04:10:38 +00:00
2024-06-19 06:32:45 +08:00
2024-02-27 08:12:22 +01:00
2024-10-01 15:25:08 -04:00
2023-09-28 01:38:53 +00:00
2024-12-20 18:05:29 +00:00
2024-11-05 07:46:40 +00:00
2024-12-20 18:05:29 +00:00
2024-06-19 06:32:45 +08:00
2024-12-20 18:05:29 +00:00
2024-11-09 04:48:31 +00:00
2024-12-20 18:05:29 +00:00
2024-11-06 21:34:32 +00:00
2024-12-20 18:05:29 +00:00
2024-12-20 18:05:29 +00:00
2024-02-27 08:12:22 +01:00
2024-12-24 11:43:57 +08:00
2024-02-27 08:12:22 +01:00
2024-06-19 06:32:45 +08:00
2024-02-27 08:12:22 +01:00
2024-12-20 18:05:29 +00:00
2024-12-18 11:44:16 +08:00
2024-06-19 06:32:45 +08:00
2024-12-24 11:43:57 +08:00
2024-06-19 06:32:45 +08:00
2024-12-15 02:31:07 +00:00