Skip to content

Commit

Permalink
feat(插件): 新增重启日志
Browse files Browse the repository at this point in the history
  • Loading branch information
xcocx committed Jun 12, 2024
1 parent b324ba4 commit fd7c73b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions driverbox/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ func ReloadPlugins() error {
reloadLock.Lock()
defer reloadLock.Unlock()

helper.Logger.Info("reload all plugins")

// 1. 停止所有 timerTask 任务
helper.Crontab.Stop()
// 2. 停止运行中的 plugin
Expand Down

0 comments on commit fd7c73b

Please sign in to comment.