Skip to content

Commit fbc68c7

Browse files
Sync: add note on starting Admin before server.
1 parent 6e551e2 commit fbc68c7

File tree

1 file changed

+2
-0
lines changed
  • objectbox-java/src/main/java/io/objectbox/sync

1 file changed

+2
-0
lines changed

objectbox-java/src/main/java/io/objectbox/sync/Sync.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public static SyncBuilder client(BoxStore boxStore, String url, SyncCredentials
5252

5353
/**
5454
* Starts building a {@link SyncServer}. Once done, complete with {@link SyncServerBuilder#build() build()}.
55+
* <p>
56+
* Note: when also using Admin, make sure it is started before the server.
5557
*
5658
* @param boxStore The {@link BoxStore} the server should use.
5759
* @param url The URL of the Sync server on which the Sync protocol is exposed. This is typically a WebSockets URL

0 commit comments

Comments
 (0)