Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FS-SC
AsapoWorker
Commits
eb9833f4
Commit
eb9833f4
authored
Mar 31, 2020
by
Tim Schoof
Browse files
Increase timeout default value
parent
81e399ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/AsapoWorker/asapo_receiver.py
View file @
eb9833f4
...
...
@@ -23,6 +23,7 @@ def create_broker(source, path, beamtime, stream, token, timeout):
return
broker
# TODO: Ensure also that indices are consecutive or start at 0
@
Configurable
class
AsapoReceiver
:
"""
...
...
@@ -45,7 +46,7 @@ class AsapoReceiver:
"Name of input stream"
,
type
=
str
,
default
=
""
),
timeout
=
Config
(
"Allowed time in milliseconds for ASAP::O data access before "
"exception is thrown"
,
type
=
float
,
default
=
3
)
"exception is thrown"
,
type
=
float
,
default
=
3
000
)
))
group_id
=
Config
(
"The stream data is divided between all workers with the same "
...
...
src/AsapoWorker/asapo_sender.py
View file @
eb9833f4
...
...
@@ -80,7 +80,7 @@ class AsapoSender:
"Name of output stream"
,
type
=
str
,
default
=
""
),
timeout
=
Config
(
"Allowed time in milliseconds for ASAP::O data access before "
"exception is thrown"
,
type
=
float
,
default
=
3
)
"exception is thrown"
,
type
=
float
,
default
=
3
000
)
))
ingest_mode
=
Config
(
"The ingest mode determines how the data is handled by ASAP::O. "
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment