mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-11 20:45:32 +08:00
New inmem command queue (#736)
This commit is contained in:
@@ -124,6 +124,7 @@ func serve(args []string) error {
|
||||
flUDIDCertAuthWarnOnly = flagset.Bool("udid-cert-auth-warn-only", env.Bool("MICROMDM_UDID_CERT_AUTH_WARN_ONLY", false), "warn only for udid cert mismatches")
|
||||
flValidateSCEPExpiration = flagset.Bool("validate-scep-expiration", env.Bool("MICROMDM_VALIDATE_SCEP_EXPIRATION", false), "validate that the SCEP certificate is still valid")
|
||||
flPrintArgs = flagset.Bool("print-flags", false, "Print all flags and their values")
|
||||
flQueue = flagset.String("queue", env.String("MICROMDM_QUEUE", "builtin"), "command queue type")
|
||||
)
|
||||
flagset.Usage = usageFor(flagset, "micromdm serve [flags]")
|
||||
if err := flagset.Parse(args); err != nil {
|
||||
@@ -175,6 +176,7 @@ func serve(args []string) error {
|
||||
WebhooksHTTPClient: &http.Client{Timeout: time.Second * 30},
|
||||
|
||||
SCEPClientValidity: *flSCEPClientValidity,
|
||||
Queue: *flQueue,
|
||||
}
|
||||
if !sm.UseDynSCEPChallenge {
|
||||
// TODO: we have a static SCEP challenge password here to prevent
|
||||
|
||||
Reference in New Issue
Block a user