Skip to content

Commit e4c4d8e

Browse files
author
Mark
committed
fixed synchronized
1 parent da7b26f commit e4c4d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private ConnectionSync(final String host, final Integer port, final Integer time
8585
super(host, port, timeout, useSsl, sslContext);
8686
}
8787

88-
public Message write(final Message message, final Collection<Chunk> chunks) throws ArangoDBException {
88+
public synchronized Message write(final Message message, final Collection<Chunk> chunks) throws ArangoDBException {
8989
super.writeIntern(message, chunks);
9090
byte[] chunkBuffer = null;
9191
int off = 0;

0 commit comments

Comments
 (0)