Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
svarog2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Redmine
Redmine
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Brain
svarog2
Commits
b3ecaeb8
Commit
b3ecaeb8
authored
Oct 03, 2019
by
Marian Dovgialo
Browse files
Options
Browse Files
Download
Plain Diff
#46094 Merge branch 'development' into dev/46094_svarog_loses_signal_after_stopping_long_recording
parents
f4fad842
36a219a5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
functions.sh
scripts/ci/common/functions.sh
+1
-1
pom.xml
svarog/pom.xml
+1
-2
MonitorWorker.java
...n/java/org/signalml/app/worker/monitor/MonitorWorker.java
+2
-1
Peer.java
svarog/src/main/java/org/signalml/peer/Peer.java
+2
-2
No files found.
scripts/ci/common/functions.sh
View file @
b3ecaeb8
#!/usr/bin/env bash
VERSION
=
`
git describe
--tags
--first-parent
`
VERSION
=
`
git describe
--tags
`
#usage:
#update_version_in_file 'file_path'
...
...
svarog/pom.xml
View file @
b3ecaeb8
...
...
@@ -208,7 +208,6 @@
resultproperty=
"git-describe.result"
>
<arg
value=
"describe"
/>
<arg
value=
"--tags"
/>
<arg
value=
"--first-parent"
/>
</exec>
<condition
property=
"svarog.git-version"
value=
"${git-describe.output}"
...
...
@@ -559,7 +558,7 @@
<dependency>
<groupId>
org.zeromq
</groupId>
<artifactId>
jeromq
</artifactId>
<version>
0.
3.5
</version>
<version>
0.
5.1
</version>
</dependency>
<dependency>
<groupId>
com.getsentry.raven
</groupId>
...
...
svarog/src/main/java/org/signalml/app/worker/monitor/MonitorWorker.java
View file @
b3ecaeb8
...
...
@@ -201,7 +201,8 @@ private void publishTagFromMessage(BaseMessage msg) {
style
=
stylesGenerator
.
getSmartStyleFor
(
tagMsg
.
getName
(),
tagLen
,
-
1
);
tagSet
.
addStyle
(
style
);
}
int
channel
=
-
1
;
int
channel
=
-
1
;
try
{
channel
=
Integer
.
parseInt
(
tagMsg
.
getChannels
());
}
...
...
svarog/src/main/java/org/signalml/peer/Peer.java
View file @
b3ecaeb8
...
...
@@ -91,7 +91,7 @@ public final BaseMessage askPeer(BaseMessage message, String repURL) throws Open
*/
private
static
String
bindSocket
(
ZMQ
.
Socket
socket
,
String
address
)
{
socket
.
bind
(
address
);
return
(
String
)
socket
.
base
().
get
socko
ptx
(
zmq
.
ZMQ
.
ZMQ_LAST_ENDPOINT
);
return
(
String
)
socket
.
base
().
get
SocketO
ptx
(
zmq
.
ZMQ
.
ZMQ_LAST_ENDPOINT
);
}
/**
...
...
@@ -137,7 +137,7 @@ public void connect() throws CommunicationException, OpenbciCommunicationExcepti
* @return true if more parts are coming, false otherwise
*/
private
static
boolean
isRcvMore
(
ZMQ
.
Socket
socket
)
{
int
rcvMore
=
(
Integer
)
socket
.
base
().
get
socko
ptx
(
zmq
.
ZMQ
.
ZMQ_RCVMORE
);
int
rcvMore
=
(
Integer
)
socket
.
base
().
get
SocketO
ptx
(
zmq
.
ZMQ
.
ZMQ_RCVMORE
);
return
rcvMore
==
1
;
}
...
...
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