Uniq deprecated notes

This commit is contained in:
世界
2024-11-07 19:58:53 +08:00
parent 9b43f6d957
commit 6f783e4be4
4 changed files with 22 additions and 13 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func check() error {
if err != nil {
return err
}
ctx, cancel := context.WithCancel(context.Background())
ctx, cancel := context.WithCancel(globalCtx)
instance, err := box.New(box.Options{
Context: ctx,
Options: options,