feat(sync): add branch & tag listing support and improve sync mirroring and sync log routing
This commit is contained in:
@@ -22,7 +22,7 @@ export class SyncHandler {
|
||||
try {
|
||||
const typedsocket = this.opsServerRef.server?.typedserver?.typedsocket;
|
||||
if (!typedsocket) return;
|
||||
typedsocket.findAllTargetConnectionsByTag('allClients').then((connections) => {
|
||||
typedsocket.findAllTargetConnectionsByTag('syncLogClient').then((connections) => {
|
||||
for (const conn of connections) {
|
||||
typedsocket
|
||||
.createTypedRequest<interfaces.requests.IReq_PushSyncLog>('pushSyncLog', conn)
|
||||
|
||||
@@ -31,7 +31,7 @@ export class WebhookHandler {
|
||||
try {
|
||||
const typedsocket = this.opsServerRef.server.typedserver.typedsocket;
|
||||
if (typedsocket) {
|
||||
const connections = await typedsocket.findAllTargetConnectionsByTag('allClients');
|
||||
const connections = await typedsocket.findAllTargetConnectionsByTag('syncLogClient');
|
||||
for (const conn of connections) {
|
||||
const req = typedsocket.createTypedRequest<interfaces.requests.IReq_WebhookNotification>(
|
||||
'webhookNotification',
|
||||
|
||||
Reference in New Issue
Block a user