mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-06 13:26:38 +08:00
Fix logo assets and license heartbeat
This commit is contained in:
@@ -420,6 +420,14 @@ func (c *Container) NormalizeCloudLibraryTypes(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Context is canceled when the service container is closing.
|
||||
func (c *Container) Context() context.Context {
|
||||
if c == nil || c.stopCtx == nil {
|
||||
return context.Background()
|
||||
}
|
||||
return c.stopCtx
|
||||
}
|
||||
|
||||
// runInactivitySweeper periodically runs the account-cleanup policy. Kept with
|
||||
// the historical name to avoid churn in callers.
|
||||
func (c *Container) runInactivitySweeper(ctx context.Context) {
|
||||
|
||||
Reference in New Issue
Block a user