Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add sdl healthcheck to a1's healthcheck
[ric-plt/a1.git]
/
a1
/
data.py
diff --git
a/a1/data.py
b/a1/data.py
index
300f19d
..
d537d54
100644
(file)
--- a/
a1/data.py
+++ b/
a1/data.py
@@
-68,6
+68,10
@@
class SDLWrapper:
""" delete a key"""
self.sdl.remove(A1NS, {key})
+ def healthcheck(self):
+ """checks if the sdl connection is healthy"""
+ return self.sdl.is_active()
+
SDL = SDLWrapper()