Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
毛树良
/
VVAS-DataCenter-DBWriter
Go to a project
Project
Repository
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e706c54e
authored
Apr 29, 2025
by
毛树良
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]:统计处理速度key,保留时间由2天改为15天
1 parent
0fe2891b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/viontech/keliu/service/SpeedStatService.java
src/main/java/com/viontech/keliu/service/SpeedStatService.java
View file @
e706c54
...
...
@@ -22,7 +22,7 @@ public class SpeedStatService {
key
=
key
+
":"
+
DateUtil
.
formatYYYYMMDD
(
now
);
String
field
=
DateUtil
.
formatYYYYMMDDHHMM
(
now
);
redisTemplate
.
opsForHash
().
increment
(
key
,
field
,
number
);
redisTemplate
.
expire
(
key
,
2
L
,
TimeUnit
.
DAYS
);
redisTemplate
.
expire
(
key
,
15
L
,
TimeUnit
.
DAYS
);
}
catch
(
Exception
e
)
{
log
.
error
(
"统计处理速度异常:{}"
,
e
.
getMessage
(),
e
);
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment