mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +08:00
fix(115_open): add delay in MakeDir function to handle rate limiting
This commit is contained in:
@@ -117,6 +117,7 @@ func (d *Open115) MakeDir(ctx context.Context, parentDir model.Obj, dirName stri
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
time.Sleep(800 * time.Millisecond)
|
||||||
return &Obj{
|
return &Obj{
|
||||||
Fid: resp.FileID,
|
Fid: resp.FileID,
|
||||||
Pid: parentDir.GetID(),
|
Pid: parentDir.GetID(),
|
||||||
|
|||||||
Reference in New Issue
Block a user