8000 Fix VelocyStream multi-thread authentication bug · Sunghyeok93/arangodb-java-driver@56a99d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 56a99d0

Browse files
author
mpv1989
committed
Fix VelocyStream multi-thread authentication bug
1 parent 266e2c4 commit 56a99d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/arangodb/internal/velocystream/VstCommunication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected VstCommunication(final Integer timeout, final String user, final Strin
7474
this.chunksize = chunksize != null ? chunksize : ArangoDBConstants.CHUNK_DEFAULT_CONTENT_SIZE;
7575
}
7676

77-
protected void connect(final C connection) {
77+
protected synchronized void connect(final C connection) {
7878
if (!connection.isOpen()) {
7979
try {
8080
connection.open();

0 commit comments

Comments
 (0)
0