mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-22 21:46:18 +01:00
- add includedetails flag to data requests for better efficiency - integrate docker host info api for better os detection - pull more OS details as well as cpu arch - separate info bar component and refactor for new info
11 lines
402 B
Go
11 lines
402 B
Go
//go:build !testing
|
|
// +build !testing
|
|
|
|
package systems
|
|
|
|
// Background SMART fetching is enabled in production but disabled for tests (systems_test_helpers.go).
|
|
//
|
|
// The hub integration tests create/replace systems and clean up the test apps quickly.
|
|
// Background SMART fetching can outlive teardown and crash in PocketBase internals (nil DB).
|
|
func backgroundSmartFetchEnabled() bool { return true }
|