更新若干功能
This commit is contained in:
6
app.go
6
app.go
@@ -39,6 +39,10 @@ type App struct {
|
||||
fsMu sync.Mutex
|
||||
fsCfg FileStorageConfig
|
||||
fsCfgAt time.Time
|
||||
// 管理员敏感操作二次验证(内存,进程内有效)
|
||||
stepupMu sync.Mutex
|
||||
stepupToken string
|
||||
stepupExp time.Time
|
||||
}
|
||||
|
||||
func NewApp() *App {
|
||||
@@ -57,9 +61,11 @@ func (a *App) ServiceStartup(ctx context.Context, _ application.ServiceOptions)
|
||||
a.startup(ctx)
|
||||
a.RefreshShell()
|
||||
go a.runAutoUpdateLoop()
|
||||
go a.runAppUpdateLoop()
|
||||
go a.runReminderLoop()
|
||||
go a.runSyncLoop()
|
||||
go a.runTeamDigestLoop()
|
||||
go a.runActivityPingLoop()
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user