Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
ws-rst
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
ws-rst
Commits
c633ebeb
Commit
c633ebeb
authored
Feb 25, 2025
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阐释添加额外消息发送+2.5678
parent
d44e7632
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
.gitignore
+2
-0
src/handles/redis.rs
+1
-1
No files found.
.gitignore
View file @
c633ebeb
...
@@ -3,3 +3,4 @@
...
@@ -3,3 +3,4 @@
Cargo.lock
Cargo.lock
.venv
.venv
test
test
*.zip
\ No newline at end of file
src/handles/redis.rs
View file @
c633ebeb
...
@@ -83,7 +83,7 @@ pub async fn insert_this_connection(
...
@@ -83,7 +83,7 @@ pub async fn insert_this_connection(
{
{
// 获取写锁以进行写操作
// 获取写锁以进行写操作
ONLINE_USERS
.insert
(
from_id
.to_string
(),
user_info_str
);
ONLINE_USERS
.insert
(
from_id
.to_string
(),
user_info_str
.clone
()
);
println!
(
"成功将用户id: {} 的信息插入到 ONLINE_USERS 中"
,
from_id
);
println!
(
"成功将用户id: {} 的信息插入到 ONLINE_USERS 中"
,
from_id
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment