feat(sync): add branch & tag listing support and improve sync mirroring and sync log routing
This commit is contained in:
@@ -1035,11 +1035,12 @@ export async function initSyncLogSocket(): Promise<void> {
|
||||
),
|
||||
);
|
||||
|
||||
await plugins.typedsocket.TypedSocket.createClient(
|
||||
const typedsocketClient = await plugins.typedsocket.TypedSocket.createClient(
|
||||
typedrouter,
|
||||
plugins.typedsocket.TypedSocket.useWindowLocationOriginUrl(),
|
||||
{ autoReconnect: true },
|
||||
);
|
||||
await typedsocketClient.setTag('syncLogClient', {});
|
||||
} catch (err) {
|
||||
console.error('Failed to init sync log TypedSocket client:', err);
|
||||
syncLogSocketInitialized = false;
|
||||
|
||||
Reference in New Issue
Block a user