Skip to content

Commit

Permalink
docs: update project layout, judge-mid and features
Browse files Browse the repository at this point in the history
  • Loading branch information
love98ooo committed Sep 30, 2024
1 parent 9e69dd1 commit f978b60
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
14 changes: 5 additions & 9 deletions docs/dev-guide/backend/intro/layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@
├── api
├── app
│ ├── admin
│ │ ├── case
│ │ ├── contest
│ │ ├── group
│ │ ├── judge
│ │ ├── judger
│ │ ├── problem
│ │ └── user
│ ├── gojudge
│ ├── rsjudge
│ │ └── admin
│ ├── gojudge (deprecated)
│ ├── judge
│ │ └── gojudge
│ ├── rsjudge (future)
│ ├── public
│ │ └── auth
│ └── user
Expand Down
3 changes: 2 additions & 1 deletion docs/dev-guide/backend/judge-mid/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@

- `name_slug` 为题型内部名称(用于管理端)
- `display_name` 为题型名称(用于用户端)
- `channel_name` 为这种题型所使用的消息队列的 `Channel` 的名字
- `submission_channel_name` 为这种题型所提交使用的消息队列的 `Channel` 的名字
- `self_test_channel_name` 为这种题型所自测使用的消息队列的 `Channel` 的名字

同时,需要将信息缓存到 `Redis` 中,`Key``problemType:{name_slug}``Value``Channel` 的名字。

Expand Down
2 changes: 1 addition & 1 deletion docs/dev-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
## 高级功能 (SASTOJ)

- [x] 使用grpc与sandbox通讯
- [ ] 对接口限流
- [x] 对接口限流
- [x] 使用消息队列优化判题请求

```mermaid
Expand Down

0 comments on commit f978b60

Please sign in to comment.