Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
80da8474
Commit
80da8474
authored
Oct 29, 2024
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
ef622d52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
MaterialApiServiceImpl.java
...nage/service/service/out/impl/MaterialApiServiceImpl.java
+2
-1
QWmediaTest.java
haoban-manage3-service/src/test/java/QWmediaTest.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MaterialApiServiceImpl.java
View file @
80da8474
...
@@ -529,11 +529,12 @@ public class MaterialApiServiceImpl implements MaterialApiService {
...
@@ -529,11 +529,12 @@ public class MaterialApiServiceImpl implements MaterialApiService {
if
(
StringUtils
.
isNotBlank
(
cache
))
{
if
(
StringUtils
.
isNotBlank
(
cache
))
{
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
(
cache
);
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
(
cache
);
}
}
logger
.
info
(
"请求合成图片并上传企微"
);
Future
<
JSONResponse
>
future
=
null
;
Future
<
JSONResponse
>
future
=
null
;
JSONResponse
json
=
null
;
JSONResponse
json
=
null
;
try
{
try
{
future
=
ImageCombined
.
EXECUTOR
.
submit
(()
->
{
future
=
ImageCombined
.
EXECUTOR
.
submit
(()
->
{
TraceIdUtil
.
traceBegin
(
TraceIdUtil
.
EntranceType
.
QUARTZ
);
TraceIdUtil
.
traceBegin
(
TraceIdUtil
.
EntranceType
.
THREAD_POOL
);
logger
.
info
(
"线程池合成图片"
);
logger
.
info
(
"线程池合成图片"
);
JSONResponse
jr
=
materialService
.
getMaterialIdByCombined
(
wxEnterpriseId
,
combinedQDTO
);
JSONResponse
jr
=
materialService
.
getMaterialIdByCombined
(
wxEnterpriseId
,
combinedQDTO
);
TraceIdUtil
.
traceEnd
();
TraceIdUtil
.
traceEnd
();
...
...
haoban-manage3-service/src/test/java/QWmediaTest.java
View file @
80da8474
...
@@ -71,7 +71,7 @@ public class QWmediaTest {
...
@@ -71,7 +71,7 @@ public class QWmediaTest {
AtomicLong
minTime
=
new
AtomicLong
(
Long
.
MAX_VALUE
);
AtomicLong
minTime
=
new
AtomicLong
(
Long
.
MAX_VALUE
);
for
(
int
i
=
0
;
i
<
TOTAL_REQUESTS
;
i
++)
{
for
(
int
i
=
0
;
i
<
TOTAL_REQUESTS
;
i
++)
{
final
int
requestId
=
i
;
final
int
requestId
=
i
+
100
;
executorService
.
submit
(()
->
{
executorService
.
submit
(()
->
{
long
startTime
=
System
.
currentTimeMillis
();
long
startTime
=
System
.
currentTimeMillis
();
try
{
try
{
...
...
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