Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos
Commits
80caf0f1
Commit
80caf0f1
authored
Jan 16, 2023
by
Lu Xu
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/ors-amarisoft: fixup baseband_latency promise
parent
645c4d32
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
software/ors-amarisoft/promise/check_baseband_latency.py
software/ors-amarisoft/promise/check_baseband_latency.py
+3
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
80caf0f1
...
@@ -104,7 +104,7 @@ md5sum = 40cf5389fd91845f4426ef159fb20fc0
...
@@ -104,7 +104,7 @@ md5sum = 40cf5389fd91845f4426ef159fb20fc0
[baseband-latency-promise]
[baseband-latency-promise]
_update_hash_filename_ = promise/check_baseband_latency.py
_update_hash_filename_ = promise/check_baseband_latency.py
md5sum =
983b179735527f6b38393d28bd858400
md5sum =
4f115e2d9bde9f268c77264dc0deb2a3
[amarisoft-stats-log-promise]
[amarisoft-stats-log-promise]
_update_hash_filename_ = promise/check_amarisoft_stats_log.py
_update_hash_filename_ = promise/check_amarisoft_stats_log.py
...
...
software/ors-amarisoft/promise/check_baseband_latency.py
View file @
80caf0f1
...
@@ -66,6 +66,9 @@ class RunPromise(GenericPromise):
...
@@ -66,6 +66,9 @@ class RunPromise(GenericPromise):
def
sense
(
self
):
def
sense
(
self
):
testing
=
self
.
getConfig
(
'testing'
)
==
"True"
testing
=
self
.
getConfig
(
'testing'
)
==
"True"
if
testing
:
self
.
logger
.
info
(
"skipping promise"
)
return
amarisoft_stats_log
=
self
.
getConfig
(
'amarisoft-stats-log'
)
amarisoft_stats_log
=
self
.
getConfig
(
'amarisoft-stats-log'
)
stats_period
=
int
(
self
.
getConfig
(
'stats-period'
))
stats_period
=
int
(
self
.
getConfig
(
'stats-period'
))
min_txrx_delay
=
float
(
self
.
getConfig
(
'min-txrx-delay'
,
5
))
min_txrx_delay
=
float
(
self
.
getConfig
(
'min-txrx-delay'
,
5
))
...
...
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