Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
f-interop-contributors
ioppytest
Commits
2479c2df
Commit
2479c2df
authored
Feb 02, 2018
by
Federico Sismondi
Browse files
delay message UI production to not overload GUI websocket / arctifacts visualization
parent
4f2c9d9d
Pipeline
#2056
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ioppytest/finterop_ui_adaptor/__main__.py
View file @
2479c2df
...
...
@@ -662,6 +662,7 @@ def main():
# TODO implement a mechanism for not publish messages until previous one has been replied,
# how to handle the ui.user.request cancel command tho?
time
.
sleep
(
0.2
)
if
not
queue_messages_request_to_ui
.
empty
():
# get next request
request
=
queue_messages_request_to_ui
.
get
()
...
...
@@ -674,6 +675,7 @@ def main():
request_message
=
request
,
requested_field_name_list
=
requested_fields
,
)
time
.
sleep
(
0.2
)
# get next message reply from UI
if
not
queue_messages_from_ui
.
empty
():
...
...
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