Skip to content

Commit 4a6d15b

Browse files
committed
调整日志
1 parent 3a67a2e commit 4a6d15b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

listener/notify/init.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ func start() {
5151
for {
5252
select {
5353
case msg := <-chanMsg:
54-
errlog.Debug("msg=%s", msg.ToJson(2))
54+
errlog.Info("msg=%s", msg.ToJson(2))
5555
handleMessage(msg)
56-
time.Sleep(100 * time.Millisecond)
56+
time.Sleep(50 * time.Millisecond)
5757
case sig := <-chanSig:
5858
handleSignal(sig)
5959
default:
60-
time.Sleep(100 * time.Millisecond)
60+
time.Sleep(50 * time.Millisecond)
6161
}
6262
}
6363
}

tests/supervisor-app.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
command=/usr/local/bin/supervisor-event-listener
33
-c /etc/supervisor-event-listener.ini
44
events=
5-
TICK_60,
65
PROCESS_STATE_EXITED,
76
PROCESS_STATE_FATAL,
87
PROCESS_STATE_STOPPED,

0 commit comments

Comments
 (0)