mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-11-25 03:15:19 +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 {
|
||||
return nil, err
|
||||
}
|
||||
time.Sleep(800 * time.Millisecond)
|
||||
return &Obj{
|
||||
Fid: resp.FileID,
|
||||
Pid: parentDir.GetID(),
|
||||
|
||||
Reference in New Issue
Block a user