Преглед на файлове

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