Explorar o código

fix: Update plugin inactivity log message to use float seconds

Yeuoly hai 4 meses
pai
achega
14333bf263
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(),
 				)