mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
info: Initialize boot time early so uptime will always be correct (#9154)
This commit is contained in:
@@ -441,9 +441,6 @@ func serverMain(ctx *cli.Context) {
|
||||
logger.StartupMessage(color.RedBold(msg))
|
||||
}
|
||||
|
||||
// Set uptime time after object layer has initialized.
|
||||
globalBootTime = UTCNow()
|
||||
|
||||
handleSignals()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user