feat(grpc): integrate slug edit handling

This commit is contained in:
2026-01-02 18:27:48 +07:00
parent 57d2136377
commit c9bf9e62bd
7 changed files with 349 additions and 304 deletions
+2 -6
View File
@@ -91,13 +91,9 @@ func main() {
cancel()
ctx, cancel = context.WithCancel(context.Background())
//go func(err error) {
// if !errors.Is(err, ctx.Err()) {
// log.Fatalf("Event subscription error: %s", err)
// }
//}(grpcClient.SubscribeEvents(ctx))
go func() {
err := grpcClient.SubscribeEvents(ctx)
identity := config.Getenv("DOMAIN", "localhost")
err = grpcClient.SubscribeEvents(ctx, identity)
if err != nil {
return
}