mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-08 15:41:18 +02:00
[#7836] fixed migration logs write deadlock and added app.ClearBootstrap/OnClearBootstrap helpers
This commit is contained in:
@@ -11,6 +11,13 @@ import (
|
||||
"github.com/pocketbase/pocketbase/tools/types"
|
||||
)
|
||||
|
||||
// contextKey is an alias type to prevent collisions with other log context keys.
|
||||
type contextKey int
|
||||
|
||||
// BlockKey is a context key usually used to indicate that the
|
||||
// batched logs write should block until writes are completed.
|
||||
var BlockKey contextKey
|
||||
|
||||
var _ slog.Handler = (*BatchHandler)(nil)
|
||||
|
||||
// BatchOptions are options for the BatchHandler.
|
||||
|
||||
Reference in New Issue
Block a user