瀏覽代碼

fix: Update plugin inactivity log message to use float seconds

Yeuoly 4 月之前
父節點
當前提交
14333bf263
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/core/plugin_manager/local_runtime/stdio_handle.go

+ 1 - 1
internal/core/plugin_manager/local_runtime/stdio_handle.go

@@ -205,7 +205,7 @@ func (s *stdioHolder) Wait() error {
 			}
 			if time.Since(s.lastActiveAt) > 60*time.Second {
 				log.Warn(
-					"plugin %s is not active for %d seconds, it may be dead",
+					"plugin %s is not active for %f seconds, it may be dead",
 					s.pluginUniqueIdentifier,
 					time.Since(s.lastActiveAt).Seconds(),
 				)