Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flatland
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yoogottamk
Flatland
Commits
697a27d7
Commit
697a27d7
authored
5 years ago
by
spmohanty
Browse files
Options
Downloads
Patches
Plain Diff
Remove redundant redis-ping call
parent
89c05cfd
No related branches found
Branches containing commit
Tags
v0.3.5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flatland/evaluators/service.py
+0
-11
0 additions, 11 deletions
flatland/evaluators/service.py
with
0 additions
and
11 deletions
flatland/evaluators/service.py
+
0
−
11
View file @
697a27d7
...
...
@@ -205,17 +205,6 @@ class FlatlandRemoteEvaluationService:
redis connection pool
"""
redis_conn
=
redis
.
Redis
(
connection_pool
=
self
.
redis_pool
)
try
:
redis_conn
.
ping
()
except
Exception
:
raise
Exception
(
"
Unable to connect to redis server at {}:{} .
"
"
Are you sure there is a redis-server running at the
"
"
specified location ?
"
.
format
(
self
.
remote_host
,
self
.
remote_port
)
)
return
redis_conn
def
_error_template
(
self
,
payload
):
...
...
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