ソースを参照

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(),
 				)