Sfoglia il codice sorgente

Merge pull request #104 from langgenius/fix/plugin-active-log

fix: Update plugin inactivity log message to use float seconds
Yeuoly 4 mesi fa
parent
commit
937dfad510

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