fix and update

This commit is contained in:
tao.chen
2026-08-26 10:42:53 +08:00
parent 64b5d9f7f3
commit 8c0e14987e
3 changed files with 29 additions and 88 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func main() {
r.POST("/webhook", handleWebhook)
listenAddr := fmt.Sprintf(":%d", *portFlag)
log.Printf("GitLab Webhook 服务已启动 (带 5 分钟防抖),监听端口 %d ...\n", *portFlag)
log.Printf("GitLab Webhook 服务已启动 (3 分钟防抖去重),监听端口 %d ...\n", *portFlag)
if err := r.Run(listenAddr); err != nil {
log.Fatalf("服务启动失败: %v", err)