Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ali-middleware-5-sync
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
ali-middleware-5-sync
Commits
4e91b558
There was an error fetching the commit references. Please try again later.
Commit
4e91b558
authored
5 years ago
by
郭浩
Browse files
Options
Downloads
Patches
Plain Diff
Update service
parent
7b24e94b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal-service/service-provider/src/main/java/com/aliware/tianchi/HashServiceImpl.java
+3
-0
3 additions, 0 deletions
...er/src/main/java/com/aliware/tianchi/HashServiceImpl.java
with
3 additions
and
0 deletions
internal-service/service-provider/src/main/java/com/aliware/tianchi/HashServiceImpl.java
+
3
−
0
View file @
4e91b558
...
...
@@ -22,6 +22,9 @@ public class HashServiceImpl implements HashInterface {
private
volatile
ThrashConfig
config
;
private
ScheduledExecutorService
scheduler
=
new
ScheduledThreadPoolExecutor
(
1
,
new
NamedThreadFactory
(
"Benchmark-refresh-permit"
));
public
HashServiceImpl
(
String
salt
)
{
this
(
salt
,
Collections
.
emptyList
());
}
public
HashServiceImpl
(
String
salt
,
List
<
ThrashConfig
>
configs
)
{
this
.
salt
=
salt
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment