mirror of
https://github.com/Dvorinka/beszel.git
synced 2026-06-04 21:32:57 +00:00
Add public monitoring features and CI updates
- Add status pages, incidents, badges, maintenance, bulk ops, and metrics - Add Docker packaging, env example, and frontend routes - Refresh GitHub workflows and project metadata
This commit is contained in:
@@ -123,5 +123,13 @@ func (s *System) StopUpdater() {
|
||||
|
||||
func (s *System) CreateRecords(data *entities.CombinedData) (*core.Record, error) {
|
||||
s.data = data
|
||||
if s.ctx != nil && s.ctx.Err() != nil {
|
||||
oldCtx, oldCancel := s.ctx, s.cancel
|
||||
s.ctx, s.cancel = context.WithCancel(context.Background())
|
||||
defer func() {
|
||||
s.cancel()
|
||||
s.ctx, s.cancel = oldCtx, oldCancel
|
||||
}()
|
||||
}
|
||||
return s.createRecords(data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user